gtk_grab_add()
- From: David Rysdam <drysdam az com>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: gtk_grab_add()
- Date: Tue, 16 Jun 1998 01:56:50 +0000
Let me start off by saying that I have RTFM'd (the manual, the FAQ, the
mailing list archives and 2 days of list lurking) so please don't flame
me if the answer to this is carved in stone somewhere.
I want to create a modal window. And when I say "modal", I mean I want
the user to have to answer the question before going on AND I want the
window to function like a scanf--wait for input before going on.
In other words (psuedo-code)
AboutToQuit()
{
ok_to_quit = show_ok_to_quit_question_dialog();
if(ok_to_quit)
quit;
}
I've seen references to gtk_grab_add() but I'm not using it right (it
doesn't do anything). Also, the instructions for using
gtk_grab_remove() are very vague (what does "after I destroy the window"
mean?)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]