Michael Torrie wrote:
> Well inside a callback you can return TRUE which stops signal
> propagation right here.  Or FALSE, which lets it continue.  So you could
> do it two ways.  One would be to to display a GtkDialog, and use
> gtk_dialog_run() from within your callback [1].  The other would be to
> create new gtk main loop instance from within your callback to allow
> another window to be displayed and run, and then based have that
> window's event callbacks set a flag and end the main loop, which you can
> then use in the original callback to end the propagation.

Forgot the references.

[1] http://library.gnome.org/devel/gtk/stable/GtkDialog.html#gtk-dialog-run

Also the glib main loop documentation is here:
http://library.gnome.org/devel/glib/stable/glib-The-Main-Event-Loop.html
specifically, g_main_loop_new()
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to