Re: making a GtkWidget modal



Christopher Dickson wrote:

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.

Cause only windows can be set modal. You can't set ie button to be
modal, cause button isn't a window.
 
But there are problems, as it doesn't make it stay on top of other windows
until it's dismissed.

If i understand You right: when You're calling
gtk_window_new(GtkWindowType) set it's type to GTK_WINDOW_TOPLEVEL.

-- 
Maciej Hrebien






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