GTK+ equivalent to Motif "XtAppProcessEvent()"



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]