StatusIcon / threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux