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 w
On Dec 3, 3:22 pm, Nobody wrote:
> On Thu, 03 Dec 2009 07:55:19 +, r0g wrote:
> > 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?
>
> The main drawbacks are that wxWidgets sucks compared to GTK or Qt (mostly
>
On Dec 2, 10:05 pm, 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
> > click a circle is drawn on canvas. I am new to python and using
> > wxpython to create this.
>
> > here is the co
On Thu, 03 Dec 2009 07:55:19 +, r0g wrote:
> 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?
The main drawbacks are that wxWidgets sucks compared to GTK or Qt (mostly
due to being modelled on the Win32 API, whic
On 12/3/2009 6:55 PM, r0g wrote:
Krishnakant wrote:
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
On Wed, 2009-12-02 at 00:20 -0800, madhura vadvalkar wrote:
def InitBuffer(self):
size=self.GetClientSize()
self.Buffer=wx.EmptyBitmap(size.width,size.height)
dc=wx.BufferedDC(None,self.buffer)
dc.SetBackground(wx.Brush(self.GetBackgroundColour()))
dc
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
>> File "C:/Python26/circle.py", line 19, in InitBuffer
>> dc=wx.BufferedDC(None,self.buffer)
>> AttributeError: 'SketchWindow' obj
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
> click a circle is drawn on canvas. I am new to python and using
> wxpython to create this.
>
> here is the code:
>
> import wx
>
> class SketchWindow(wx.Wind
madhura vadvalkar wrote:
Hi
I am trying to write an PAINT like application where on the mouse
click a circle is drawn on canvas. I am new to python and using
wxpython to create this.
here is the code:
import wx
class SketchWindow(wx.Window):
def __init__ (self, parent,ID):
wx