GTK+ equivalent to Motif "XtAppProcessEvent()"
- From: Ignacio Nodal <inodal teleline es>
- To: GTK-List <gtk-list gnome org>
- Subject: GTK+ equivalent to Motif "XtAppProcessEvent()"
- Date: Wed, 06 Feb 2002 01:05:23 +0000
Hi,
I want my aplication to stop the gtk_main() until the user press a
button, which change the value of a variable called "state":
while(state == EXIT_WAIT) {
....**stop gtk_main**....
}
if (state == EXIT_OK) {
[...]
} else {
[...]
}
------
In Motif I used:
while (state == EXIT_WAIT)
XtAppProcessEvent(GB_context, XtIMAll);
if (state == EXIT_OK) {
[...]
} else {
[...]
}
-----
Which is the GTK+ equivalent?
Thanks,
Ignacio Nodal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]