re: making a GtkWidget modal


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 

Currently have this working as attempt to make it model:

    gtk_grab_add( m_widget );
    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]