Making a Python/GTK CheckMenuItem, when clicked, not close the menu

2010-01-28 Thread David Salisbury
Hi Using Python and PyGTK I've got a GtkMenu with various GtkCheckMenuItems in it. When the user clicks one of the checkboxes the menu closes. I'd like for the user to be able to check a series of checkboxes without the menu closing each time. I've looked at using the activate callback to show

safely emit signal to main loop (main thread) from worker thread

2010-01-28 Thread ferar achkar
greetings, How can I safely emit a custom signal from a working thread to gtk main loop (main thread) to execute a custom call back function connected to that custom signal. A short working example or a link to that is appreciated. regards, ferar ___

Re: safely emit signal to main loop (main thread) from worker thread

2010-01-28 Thread Florian Müllner
El jue, 28-01-2010 a las 17:09 -0500, ferar achkar escribió: How can I safely emit a custom signal from a working thread to gtk main loop (main thread) to execute a custom call back function connected to that custom signal. Not sure if I understand your intention here. In GObject/GTK+, signals

Re: Making a Python/GTK CheckMenuItem, when clicked, not close the menu

2010-01-28 Thread Freddie Unpenstein
Using Python and PyGTK I've got a GtkMenu with various GtkCheckMenuItems in it. When the user clicks one of the checkboxes the menu closes. I'd like for the user to be able to check a series of checkboxes without the menu closing each time. I looked into this myself a while back, and gave up.