Re: gtk3 + python : lookup_widget

2012-08-20 Thread Tristan Van Berkom
On Mon, Aug 20, 2012 at 2:32 PM, Patrick Shirkey pshir...@boosthardware.com wrote: On Mon, August 20, 2012 6:59 am, Tristan Van Berkom wrote: The lookup_widget() paradigm comes from a very old time when we had very poor tools and actually it originates from people using generated code from

Re: gtk3 + python : lookup_widget

2012-08-20 Thread Patrick Shirkey
On Mon, August 20, 2012 9:16 am, Tristan Van Berkom wrote: On Mon, Aug 20, 2012 at 2:32 PM, Patrick Shirkey pshir...@boosthardware.com wrote: On Mon, August 20, 2012 6:59 am, Tristan Van Berkom wrote: The lookup_widget() paradigm comes from a very old time when we had very poor tools

Re: gtk3 + python : lookup_widget

2012-08-20 Thread Patrick Shirkey
On Mon, August 20, 2012 9:16 am, Tristan Van Berkom wrote: On Mon, Aug 20, 2012 at 2:32 PM, Patrick Shirkey pshir...@boosthardware.com wrote: On Mon, August 20, 2012 6:59 am, Tristan Van Berkom wrote: The lookup_widget() paradigm comes from a very old time when we had very poor tools

gtk3 + python : lookup_widget

2012-08-19 Thread Patrick Shirkey
Hi, I'm having a little trouble finding examples online of using the equivalent of lookup_widget() with gtk3 + python. For example in the following code what is the best way to modify the message label after the commandline callback is sent? Should I be using globals or a glade file or is there

Re: gtk3 + python : lookup_widget

2012-08-19 Thread Tristan Van Berkom
The lookup_widget() paradigm comes from a very old time when we had very poor tools and actually it originates from people using generated code from the original Glade tool (Glade versions 1 and 2). Ideally, as specially as you are using python, your application should be modular. Perhaps you

Re: gtk3 + python : lookup_widget

2012-08-19 Thread Tristan Van Berkom
On Mon, Aug 20, 2012 at 1:59 PM, Tristan Van Berkom t...@gnome.org wrote: The lookup_widget() paradigm comes from a very old time when we had very poor tools and actually it originates from people using generated code from the original Glade tool (Glade versions 1 and 2). Correction, that

Re: gtk3 + python : lookup_widget

2012-08-19 Thread Patrick Shirkey
On Mon, August 20, 2012 6:59 am, Tristan Van Berkom wrote: The lookup_widget() paradigm comes from a very old time when we had very poor tools and actually it originates from people using generated code from the original Glade tool (Glade versions 1 and 2). Ideally, as specially as you