Re: GTK app with scrolled window crashing trying to show a widget inside

2011-12-30 Thread Emmanuel Thomas-Maurin
On 12/30/2011 06:08 PM, Michael Torrie wrote: > On 12/30/2011 05:52 AM, David Nečas wrote: >> On Fri, Dec 30, 2011 at 01:28:32PM +0100, Moritz Renftle wrote: >>> i want to make one of those widgets visible from >>> another thread >> >> Use glib.idle_add() in that other thread to subsequently execut

Re: GTK app with scrolled window crashing trying to show a widget inside

2011-12-30 Thread Michael Torrie
On 12/30/2011 05:52 AM, David Nečas wrote: > On Fri, Dec 30, 2011 at 01:28:32PM +0100, Moritz Renftle wrote: >> i want to make one of those widgets visible from >> another thread > > Use glib.idle_add() in that other thread to subsequently execute the > actual Gtk+ code in the thread running the G

Re: GTK app with scrolled window crashing trying to show a widget inside

2011-12-30 Thread David Nečas
On Fri, Dec 30, 2011 at 01:28:32PM +0100, Moritz Renftle wrote: > i want to make one of those widgets visible from > another thread Use glib.idle_add() in that other thread to subsequently execute the actual Gtk+ code in the thread running the Gtk+ main loop. Yeti ___

GTK app with scrolled window crashing trying to show a widget inside

2011-12-30 Thread Moritz Renftle
Hi, I'm programming a gtk-app with python and pygtk. my app consists of a gtk.scrolledwindow and several widgets packed into it horizontally. i want to make one of those widgets visible from another thread (when a button is pushed on a joystick). therefore i get the allocation of the widget and th