Re: [gtk-list] Modality

Timothy M. Shead wrote:

> I'm trying to understand how to create a modal dialog ... it was my
> understanding that this was done with gtk_grab_add():

Have you tried:

gtk_window_set_modal (GtkWindow *window, gboolean modal);

to set/unset modality of any widget that can be cast to a GtkWindow.
Seems to do the trick just fine here. always holds the latest Gtk+ API docs btw...



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]