re: making a GtkWidget modal
- From: Christopher Dickson <chris pandromeda com>
- To: gtk-app-devel-list gnome org
- Subject: re: making a GtkWidget modal
- Date: Thu, 20 Sep 2001 14:52:32 +1200
hi,
I'm trying to make a GtkWidget model,.....and I noticed that there is a
function gtk_window_set_modal() that takes a GtkWindow, but nothing for a
GtkWidget.
Currently have this working as attempt to make it model:
gtk_grab_add( m_widget );
gtk_main();
gtk_grab_remove( m_widget );
But there are problems, as it doesn't make it stay on top of other windows
until it's dismissed. If i open a file dialog box off it.....I can't
interact with the file dialog.
Are there any better ways??
--
Chris Dickson
Software Engineering
MojoWorld: Explore | Discover | Create
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]