Re: Disabling windows



HRahman10 aol com wrote:

Hi, I have added a few button to the file selector widget, which bring up a
different dialog box, how do you disable the orginal file selector widget
(which is the window behind) while the dialogs are up, i.e. so that you can't
do any other actions available in the file selector widget until the dialog
has been closed.

You need to make your dialog window modal. U do that by using the gtk_grab_add(GtkWidget *window) function.

The file selection window isn't already modal (at least in one of my program it isn't) so you may even want to add the modal ability to that window as well.





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