Tkinter, problem when using 2 scrollbars
rook_5150 at yahoo.com
Mon Oct 21 17:20:07 CEST 2002
> > I'd whip something up real quick, but I don't have Tk on this machine.
> > Jeff
> How's this:
> class ScrolledListbox(Frame):
> def __init__(self, parent):
> Frame.__init__(self, parent)
In perl/Tk there is a method Scrolled, in which the first parameter is
the name of the class/widget to create. How might you implement
something like that in Python?
widget = Scrolled("Text", [text options])
I guess I really want to know how to invoke constructors to unknown
class types, where the class type is derived through a string.
More information about the Python-list