Ejemplo n.º 1
0
 def __init__(self, master, flist, gui):
     if macosxSupport.isAquaTk():
         ScrolledList.__init__(self, master)
     else:
         ScrolledList.__init__(self, master, width=80)
     self.flist = flist
     self.gui = gui
     self.stack = []
Ejemplo n.º 2
0
 def __init__(self, master, flist, gui):
     if macosxSupport.isAquaTk():
         ScrolledList.__init__(self, master)
     else:
         ScrolledList.__init__(self, master, width=80)
     self.flist = flist
     self.gui = gui
     self.stack = []
Ejemplo n.º 3
0
 def __init__(self, master, flist, gui):
     if macosxSupport.isAquaTk():
         # At least on with the stock AquaTk version on OSX 10.4 you'll
         # get an shaking GUI that eventually kills IDLE if the width
         # argument is specified.
         ScrolledList.__init__(self, master)
     else:
         ScrolledList.__init__(self, master, width=80)
     self.flist = flist
     self.gui = gui
     self.stack = []
Ejemplo n.º 4
0
 def __init__(self, master, flist, gui):
     if macosxSupport.runningAsOSXApp():
         # At least on with the stock AquaTk version on OSX 10.4 you'll
         # get an shaking GUI that eventually kills IDLE if the width
         # argument is specified.
         ScrolledList.__init__(self, master)
     else:
         ScrolledList.__init__(self, master, width=80)
     self.flist = flist
     self.gui = gui
     self.stack = []
Ejemplo n.º 5
0
 def popup_event(self, event):
     "override base method"
     if self.stack:
         return ScrolledList.popup_event(self, event)
Ejemplo n.º 6
0
 def popup_event(self, event):
     "override base method"
     if self.stack:
         return ScrolledList.popup_event(self, event)
Ejemplo n.º 7
0
 def popup_event(self, event):
     return ScrolledList.popup_event(self, event) if self.stack else None