Help in wxpython

r0g aioe.org at technicalbloke.com
Thu Dec 3 02:55:19 EST 2009


Krishnakant wrote:
> On Wed, 2009-12-02 at 00:20 -0800, madhura vadvalkar wrote:
>> Hi
>>
>> I am trying to write an  PAINT like application where on the mouse
<snip>

>>   File "C:/Python26/circle.py", line 19, in InitBuffer
>>     dc=wx.BufferedDC(None,self.buffer)
>> AttributeError: 'SketchWindow' object has no attribute 'buffer'
>>
>> Please tell me what I am doing wrong.
>>
>> Thanks
> Madhura, Sorry to be a bit off-topic, but, I would really recommend you
> to use pygtk instead of wx.
> For one thing, the developers at pygtk are very active (they have their
> mailing list as well ) and it comes by default with python on almost all
> linux distros.  You can also easily install it on windows.
> 
> Most important, the api for pygtk is closely similar to wx.
> Not to mention the quick responses you will get with pygtk related
> problems.
> 
> Happy hacking.
> Krishnakant.
> 



I have to recommend to opposite, stick with wx. What's the point of
tying yourself into GTK when wx works on Mac, PC and Linux?

Roger.



More information about the Python-list mailing list