Hi,
Gtk::Window::wrap() <https://developer.gnome.org/gtkmm/stable/classGtk_1_1Window.html#ae450767a1f7f277ee50a0acb197f3e08>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
:-)



_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list

_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to