about main event loop



hello,
I don't know how to deal with the signal
when I clicked the icon on taskbar with
right button of the mouse

the program runs ok,
but it gives the warnings in the console:
GLib-WARNING **: g_main_context_prepare() called recursively from within a
source's check() or prepare() member.
GLib-WARNING **: g_main_context_check() called recursively from within a
source's check() or prepare() member.

should i use a callback function to deal
with the signal "button_press_event"or
create a thread to run in the idle time?



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