RE: SOLVED: Re: How to Make a Window Come to Top?



> From: Elizabeth Barham [mailto:lizzy soggytrousers net] 
>   In gtkmm, an example should solidify its understanding:
>
>	Gtk::Window * w = new Gtk::Window();
>	w->show();
>	// ...
>	gdk_window_raise(w->get_window()); // get_window() is from
Gtk::Widget

You don't need to use gdk_window_raise() in gtkmm. You can use
Gdk::Window::raise(). Your code wouldn't actually compile anyway.

And there's a more convenient method in gtkmm anyway:
http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1Window.html#a95

Murray Cumming
murrayc usa net
www.murrayc.com 



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