Re: [gtk-list] Help with dialogs in perl Gtk




> I read the FAQ and discovered how to go modal using gtk_grab_add, which works
> to a point - the user is forced to respond to the dialog box before he/she can
> do anything more.  However, it seems the program is under no such constraint.

After gtk_grab_add, call the gtk main loop recursively (gtk_main()).
Then make sure you call gtk_main_quit from your dialog box termination
hanlders (usually ok and cancel buttons).

-- 
miguel@gnu.org



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