Hi,
I'm wondering how your supposed to find out a widget's width in tkinter..
Little example code to explain (doesnt do anything at all)
class CustomWidget(Tkinter.Frame):
def __init__(self, master, **kw):
apply(Tkinter.Frame.__init__, (self, master), kw)
self.masterWidth = # ???? Totally stuck, tried obvious things like master.width
class MainWindow(Tkinter.Toplevel):
def __init__(self, master, **kw):
apply(Tkinter.Toplevel.__init__, (self, master), kw)
subwidget = CustomWidget(self)
subWidget.pack()
thanks in advance
a1eio