Getting a modal run



Hello Everyone,

I've derived a class from Gtk::Window. I am running it from within another window thusly:

Cashwin cw;
cw.show();
Gtk::Main::run(cw);

This works fine, except that it is not synchronous. I can get focus on the window that spawned this one and run it again. I don't want this to happen. The window is too complex to derive from Gtk::Dialog (I tried that).

Assuming my assumptions about derivation from Gtk::Dialog were correct, any ideas?

Thanks,

Bob Caryl



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