set_modal/grab_add



        While I sift through the source someone might
be able to tell me:

Will:

        gtk_grab_add(GTK_WIDGET(window));

do the same as:

        gtk_window_set_modal(window, TRUE);

exept for the the window not having its "modal"
property set ?

the reason for this question is that I would like
to "set_modal" on my own custom widget which
doesn't inherit from GtkWindow. (I know I could
give it it's own window but I'll eliminate alot
of extra code this way.)

Cheers,
        -Tristan



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