RE: [gtkmm] Window doesn't take a RefPtr for set_transient_for()



Eric Bourque wrote:
> What is the proper way to set the transient window for a 
> FileSelection when get_parent_window() returns a 
> Glib::RefPtr<Gdk::Window> and
> set_transient_for() takes a Window& ?

I believe that set_transient_window() takes a _Gtk_::Window&. You might want
Gtk::Widget::get_toplevel() or Gtk::Widget::get_widget():
http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1Widget.html


Murray Cumming
www.murrayc.com
murrayc usa net



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