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, K

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

2009-04-05 Thread Vlastimil Brom
2009/4/5 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 Act

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: 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: 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: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 butto

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 wx.EVT_TREE_SEL_CHAN

Re: Help with wxPython

2005-08-12 Thread Roel Schroeven
[EMAIL PROTECTED] wrote: > 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

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

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

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 -- http://mail.python.org/mailman/l