Re: OOP and Tkinter

2006-05-15 Thread Diez B. Roggisch
Ronny Mandal schrieb: > Thanks, but the problem was my undentation, after making one indent, > it worked as expected. :) I seriously doubt that. I guess you didn't show us the real code. But there is no way that an instance variable can be accessed on type-level in a derived class (or from anywh

Re: OOP and Tkinter

2006-05-15 Thread Kent Johnson
Ronny Mandal wrote: > file front_ui.py: > > class Front(object): > _images = [] # Holds image refs to prevent GC > def __init__(self, root): > # Widget Initialization > self._listbox_1 = Tkinter.Listbox(root, > height = 0, > width = 0, > ... >

Re: OOP and Tkinter

2006-05-15 Thread Ronny Mandal
Thanks, but the problem was my undentation, after making one indent, it worked as expected. :) -Ronny M -- http://mail.python.org/mailman/listinfo/python-list

Re: OOP and Tkinter

2006-05-15 Thread Diez B. Roggisch
Ronny Mandal schrieb: > Hello. > > I am stuck; provided is the code and error-msg: > > file front_ui.py: > > class Front(object): > _images = [] # Holds image refs to prevent GC > def __init__(self, root): > > > # Widget Initialization > self._listbox_1 = Tkinter.Listbo