Re: Help in wxpython

2009-12-03 Thread r0g
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

Re: Help in wxpython

2009-12-03 Thread Dietmar Schwertberger
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()))

Re: Help in wxpython

2009-12-03 Thread Lie Ryan
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

Re: Help in wxpython

2009-12-03 Thread Nobody
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, which

Re: Help in wxpython

2009-12-03 Thread Mike Driscoll
On Dec 2, 10:05 pm, Krishnakant hackin...@gmail.com 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

Re: Help in wxpython

2009-12-03 Thread Mike Driscoll
On Dec 3, 3:22 pm, Nobody nob...@nowhere.com 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

Re: Help in wxpython

2009-12-03 Thread Kevin Walzer
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

Help in wxpython

2009-12-02 Thread madhura vadvalkar
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.Window.__init__(self,

Re: Help in wxpython

2009-12-02 Thread Dave Angel
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):

Re: Help in wxpython

2009-12-02 Thread Krishnakant
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.Window):

Re: Help with wxPython program :.: return 1?

2009-04-06 Thread Trent Mick
Dennis Lee Bieber wrote: I don't know what Komodo is coded in, but if it is using wx, you may be failing from having two mainloop processes... (same problem as trying to run a Tkinter application from inside IDLE, and probably trying to run a win32gui application from PythonWin) No,

Help with wxPython program :.: return 1?

2009-04-05 Thread Kenny x
Hello, I have a problem with my wxPython 2.8 Application. The program opens and closes and on KomodoEdit it says wxstreamredirect.py returned 1.' What's wrong? http://paste.pocoo.org/show/80/ P.S. I compared my source code to the source code in wxPython in Action, and it looks the same! Why

Re: Help with wxPython program :.: return 1?

2009-04-05 Thread Vlastimil Brom
2009/4/5 Kenny x xarv...@gmail.com: Hello, I have a problem with my wxPython 2.8 Application. The program opens and closes and on KomodoEdit it says wxstreamredirect.py returned 1.'  What's wrong? http://paste.pocoo.org/show/80/ P.S. I compared my source code to the source code in

Need help with Wxpython

2008-10-14 Thread azrael
I need to implement a tree which will append a root. Any other node in the tree will be triggered when a button is pressed. I created the button, all the needed events, tree and a root. But when I want to append a node pressing the button I don't know How. My idea is using the

Re: Need help with Wxpython

2008-10-14 Thread Mike Driscoll
On Oct 14, 9:00 am, azrael [EMAIL PROTECTED] wrote: I need to implement a tree which will append a root. Any other node in the tree will be triggered when a button is pressed. I created the button, all the needed events, tree and a root. But when I want to append a node pressing the button I

Re: Need help with Wxpython

2008-10-14 Thread azrael
Seen it already but looks to complicated. Someone knows a better way? -- http://mail.python.org/mailman/listinfo/python-list

Re: Need help with Wxpython

2008-10-14 Thread Mike Driscoll
On Oct 14, 9:36 am, azrael [EMAIL PROTECTED] wrote: Seen it already but looks to complicated. Someone knows a better way? What about the tree control's GetSelection method? That seems to return the TreeItemId. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: where to report bug/get help for wxpython

2007-04-13 Thread kyosohma
On Apr 12, 9:35 pm, alf [EMAIL PROTECTED] wrote: Hi, I have another problem with wxpython - that is the best place to report bug - evident memory leak on Linux and win32. -- alf You'll need to go to the official wxPython website, here: http://wxpython.org/ There's a link to the mailing

Re: where to report bug/get help for wxpython

2007-04-13 Thread Steve Holden
alf wrote: Hi, I have another problem with wxpython - that is the best place to report bug - evident memory leak on Linux and win32. Google for wxpython mailing list and see if you still need help after that. Bug reports on c.l.py will almost certainly go unregarded. regards

where to report bug/get help for wxpython

2007-04-12 Thread alf
Hi, I have another problem with wxpython - that is the best place to report bug - evident memory leak on Linux and win32. -- alf -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP! on wxPython Error

2006-01-09 Thread Franz Steinhaeusler
On Mon, 2 Jan 2006 21:44:11 +0600, Suranga Sarukkali [EMAIL PROTECTED] wrote: Hello, I'm Sam and I've been under som trouble with using wxPython that when I try to execute code containing wxPython gui programs provided with wxPython geting started sample progams it's giving a error but when I

HELP! on wxPython Error

2006-01-02 Thread Suranga Sarukkali
Hello, I'm Sam and I've been under som trouble with using wxPython that when I try to execute code containing wxPython gui programs provided with wxPython geting started sample progams it's giving a error but when I type the code to the shell prompt it works fine. Is it beacus I'm on windows or

Re: HELP! on wxPython Error

2006-01-02 Thread stelki
Hello, you smell. -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP! on wxPython Error

2006-01-02 Thread Tim Roberts
Suranga Sarukkali [EMAIL PROTECTED] wrote: Hello, I'm Sam and I've been under som trouble with using wxPython that when I try to execute code containing wxPython gui programs provided with wxPython geting started sample progams it's giving a error but when I type the code to the shell prompt it

Help with wxPython

2005-08-12 Thread mitsura
Hi, I have encountered an annoying problem with wx.Choice from wx.Python. Basically, what I want to do is create a drop down box with a set of choices (so far so good). The problem is that when the drop down box is created, the first entry in the list of the drop down box is empty and you need to

help with wxPython and wxGrid

2005-04-10 Thread Sam the Cat
using from wxPython.wx import * under python2.3 I cannot seem to find the wxGrid class -- it says its undefined -- am I missing something obvious ? I know the globalspace import is not the best, but that how I got started ;) -- any help owuld be appreciated --

Re: help with wxPython and wxGrid

2005-04-10 Thread vincent wehren
Sam the Cat [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] | using from wxPython.wx import * under python2.3 I cannot seem to find the | wxGrid class -- it says its undefined -- am I missing something obvious ? I | know the globalspace import is not the best, but that how I got