[Newb] Still not able to solve class attribution

Peter Otten __peter__ at web.de
Sun Jan 11 12:36:22 EST 2004


Knoppix User wrote:

> class GIP(wx.Frame):
>     def __init__(self, parent, ID, title):
>         wx.Frame.__init__(self, parent, ID, title, size = (600, 460))
> 
>         ....
> 

Just an idea: how about moving the following statement up immediately after
the wx.Frame.__init__(...). The DisplayImg() method *could* be called in
the code you abbreviate with the above four dots.

>        self.Image = wx.StaticBitmap(self, -1,
>        wx.EmptyBitmap(*self.thumbSize),
>             pos = (160,10))     <<<<<<<<<<<<<<<<<<<<I thunk I dunnit here!

Peter




More information about the Python-list mailing list