Beispiel #1
0
 def set_gui(self):
     self.parent = sh.Top (icon = self.icon
                          ,title = self.title
                          )
     self.widget = self.parent.widget
     self.set_widgets()
     self.ent_lgn.focus()
Beispiel #2
0
 def set_gui(self):
     self.parent = sh.Top(icon=ICON, title=_('Subject blocking'))
     self.widget = self.parent.widget
     sh.Geometry(self.parent).set('800x450')
     self.set_widgets()
     self.set_scrolly()
     self.lbx_lft.focus()
Beispiel #3
0
 def set_gui(self):
     self.parent = sh.Top (icon = ICON
                          ,title = 'unmusic'
                          )
     self.set_buttons()
     self.set_bindings()
     if len(self.a) > 0:
         self.a[0].focus()
Beispiel #4
0
 def set_gui(self):
     self.obj = self.parent = sh.Top()
     self.widget = self.obj.widget
     self.set_frames()
     self.set_labels()
     self.set_buttons()
     self.set_icon()
     self.set_title()
     self.widget.focus_set()
Beispiel #5
0
 def set_gui(self):
     self.parent = sh.Top(AutoCr=True, title=_('View Settings'), icon=ICON)
     self.widget = self.parent.widget
     self.set_frames()
     self.set_cboxes()
     self.set_labels()
     self.set_columns()
     self.set_buttons()
     self.set_bindings()
Beispiel #6
0
 def set_gui(self):
     self.parent = sh.Top (icon = ICON
                          ,title = _('Image:')
                          )
     self.lbl = sh.Label (parent = self.parent
                         ,text = _('Image:')
                         ,expand = True
                         ,fill = 'both'
                         )
     self.set_bindings()
Beispiel #7
0
 def set_gui(self):
     self.parent = sh.Top(icon=ICON, title=_('Word Guesser'))
     self.set_frames()
     self.set_widgets()
     self.set_buttons()
     self.set_region()
     self.set_scroll()
     self.set_bindings()
     self.cvs.set_top_bindings(self.parent)
     self.parent.center()
     self.close()
Beispiel #8
0
 def set_gui(self):
     self.parent = sh.Top (icon = ICON
                          ,title = _('Copy music')
                          )
     self.set_frames()
     self.set_genre()
     self.set_year()
     self.set_source()
     self.set_target()
     self.set_limit()
     self.set_buttons()
     self.set_bindings()
Beispiel #9
0
 def set_gui(self):
     self.parent = sh.Top(Maximize=self.Maximize,
                          title=self.title,
                          icon=self.icon)
     self.widget = self.parent.widget
     self.gui = sh.gi.TextBoxC(self.parent)
     self.obj = SearchBox(parent=self.parent,
                          ScrollX=False,
                          ScrollY=True,
                          icon=self.icon,
                          font=self.font)
     self.set_bindings()
Beispiel #10
0
 def set_gui(self):
     self.obj = sh.Top(Maximize=True)
     self.frm_prm = sh.Frame(parent=self.obj, expand=1)
     self.frm_btm = sh.Frame(parent=self.frm_prm, expand=0, side='bottom')
     self.frm_ver = sh.Frame(parent=self.frm_prm,
                             expand=0,
                             fill='y',
                             side='right')
     self.widget = th.TkinterHtml(self.frm_prm.widget)
     self.widget.pack(expand='1', fill='both')
     self.set_scroll()
     self.set_frame_panel()
     self.set_icon()
     self.set_title()
     self.set_bindings()
     self.ent_src.focus()
     self.obj.widget.protocol('WM_DELETE_WINDOW', self.close)
Beispiel #11
0
 def set_gui(self):
     self.parent = sh.Top (icon = ICON
                          ,title = _('Album Editor')
                          )
     self.widget = self.parent.widget
     self.set_frames()
     self.search_albums()
     self.search_ids()
     self.set_meter()
     self.search_tracks()
     self.set_menus()
     self.set_labels()
     self.set_entries()
     self.set_present()
     self.set_image()
     self.set_bottom()
     self.set_bindings()
     self.ent_art.focus()
Beispiel #12
0
 def set_gui(self):
     self.parent = sh.Top(icon=ICON, title=_('Word Scrambler'))
     sh.Label(parent=self.parent, text=_('Not implemented yet!'))
     self.set_bindings()
     self.parent.center()
     self.close()
Beispiel #13
0
 def set_gui(self):
     self.parent = sh.Top(icon=ICON, title=_('History'))
     self.widget = self.parent.widget
     self.lbx = sh.ListBox(self.parent)
     sh.Geometry(self.parent).set('250x350')
Beispiel #14
0
 def set_gui(self):
     self.parent = sh.Top(icon=ICON,
                          title=sh.List([PRODUCT, VERSION]).space_items())
     self.set_buttons()
     self.set_bindings()
Beispiel #15
0
 def show(self, lst=['a', 'b', 'c'], action=None):
     if not self.parent:
         self.parent = sh.Top(Lock=False)
         self.parent.widget.wm_overrideredirect(1)
         self.lbox = sh.ListBox(parent=self.parent, lst=lst, action=action)
         self.set_bindings()