Hi, Gtk::Window::wrap() returns a pointer to the Window you are wrapping. Every widget in gtkmm has a wrap() method- and a gobj() method if you need to get the C object back; some of them return a Glib::RefPtr rather than a raw pointer. Ian. On 06/03/16 07:13, Russel Winder wrote:
Is there an officially idiomatic way of constructing a Gtk::Window * give a GtkWindows *, i.e. I have a pointer to a Gtk C window object and need to create the wrapped gtkmm C++ object. Sorry if this is RTFM, but I have RTFM and am not wiser on this point :-) |