Re: some advice about Python GUI apps

2005-09-14 Thread Varghjärta
I'm not sure but wouldn't the simplest(perhaps) solution be to store a reference to all the dialogs you open up in a mapped array of some kind (dictionary) and whenever you are going to open up a dialog you check if it already exists a key matching whatever id you choose. If it exists then use the

Re: Would you pls tell me a tool to step debug python program?

2005-09-12 Thread Varghjärta
I myself used/use "Komodo" for all my developing, it's the best and easiest to use graphical IDE for python i've found thus far. On 12/09/05, Franz Steinhaeusler <[EMAIL PROTECTED]> wrote: > On 12 Sep 2005 00:12:29 -0700, "Johnny Lee" <[EMAIL PROTECTED]> > wrote: > > >Hi, > > I've met a proble

Re: Invoke a method to a specific thread

2005-08-04 Thread Varghjärta
On 25/07/05, Diez B.Roggisch <[EMAIL PROTECTED]> wrote: > Varghjärta gmail.com> writes: > > > If I have "GUIClass":... > > And start another thread and from that thread I want to call the > > method "PaintSomething()" in "GUIClass" _

Invoke a method to a specific thread

2005-07-24 Thread Varghjärta
Taking the opportunity to ask yet another python question as a newbie to this list, that's been bugging a wee but that I've managed to put off. When doing GUI apps in C# I often have to call a method that will modify the GUI somehow from a different thread then the GUI is on (to allow for GUI resp

Re: Fire event when variable is Set/Get

2005-07-24 Thread Varghjärta
Thank you! Wow, this might be exactly what I want! Thanks to the pythonness (syntax) the code might even be shorter then implementing it in C#! Gonna go and play around with this some more(now), and can't wait til I get home (there will be some massive code cleaning). I wonder why I've never com

Fire event when variable is Set/Get

2005-07-24 Thread Varghjärta
Hey! I'm a hobby programmer since many years now and I've done most of my latest 'real application' coding in C#. I've played with python of and on yet not catching on until a few months ago when I got myself hocked on it for real and now I love C# _and_ Python. But there is something that keeps