Re: about main event loop
- From: Dov Grobgeld <dov grobgeld gmail com>
- To: Zhang Wei <zwizhy gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: about main event loop
- Date: Tue, 12 Jan 2010 11:25:11 +0200
No, you don't create threads to handle events. Instead you connect to
callbacks through g_signal_connect().
But in order to get an intelligent reply from this list, you should provide
a complete compilable program that exhibit the problem that you experience.
Regards,
Dov
On Tue, Jan 12, 2010 at 11:02, Zhang Wei <zwizhy gmail com> wrote:
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?
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]