Re: [gtkmm] GTK Widget always on top



Ramachandra Putti writes:
 > Hi,
 > 
 > I am using gtkmm-2.0 and gcc 2.96 on Red Hat linux 7.3.
 > 
 > Is it possible, to have Gtk Widget, always on Top i.e. if I have main 
 > window, on some events, I create a pop window, or dialog, if I click on 
 > main window, the dialog or pop window, should remain, instead of hiding 
 > behind.

Check out Gtk::Window::set_transient_for()

you'll use something on the order of

pop_window->set_transient_for(main_window);



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