Followup to my Stupid question. Cheers
- From: Jack Challen <jack_challen ocsl co uk>
- To: gtk-app-devel-list gnome org
- Subject: Followup to my Stupid question. Cheers
- Date: Tue, 10 Oct 2000 09:50:33 +0100
Thanks to all the people that answered my question, it's much
appreciated.
Adding the following line inside the callback that created the child did
what I want.
gtk_window_set_modal(GTK_WINDOW(child), TRUE)
simple, eh?
BTW, there's no information about this in the GTK+ reference, so here's
my (poor) attempt:
gtk_window_set_modal(GTK_WINDOW(window), TRUE) sets the window given as
argument 1 to be modal. This has the effect of making this window the
only active window of the program, useful for creating dialog boxes, or
for ignoring events in all other windows.
You may do what you wish with that, including inserting it into the
reference, or printing it out and eating it for lunch.
Right, I'm off. Cheers again.
Jack Challen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]