StatusIcon / threads
- Date: Tue, 11 Dec 2007 11:35:50 +0100
- From: Yann Leboulanger <asterix@xxxxxxxxxxx>
- Subject: StatusIcon / threads
Hi,
First of all, my application uses PyGTK, but I think that this issue is
GTK related. Correct me if I'm wrong.
I use a StatusIcon. I added a handler for popup-menu event. In this
handler I get a menu from a glade file, and I call menu.popup()
but on this line I get a warning:
Warning: g_main_context_prepare(): main loop already active in another
thread.
If in the handler I do idle_add(my_function) everything goes well, but
is it normal to get this kind of warning?
I use GTK 2.10.11 from gladewin32, and pygtk 2.10.6.
--
Yann
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list