Hi Zbigniew
I think you need something like the following code snippet.
gboolean kill_funtion = FALSE;
...
void foo()
{
while (!kill_funtion) {
...
// Process all pending events in gtk_main()
while (g_main_iteration(FALSE));
}
kill_funtion = FALSE;
}
void button_event(...)
{
kill_function = TRUE;
}
Bye
Jan-Marek
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
- How to write a procedure that can be stopped Zbigniew Galias
- Re: How to write a procedure that can be stopped Ron Steinke
- Jan-Marek Glogowski
