Re: [Cluttermm] Use of Glib::RefPtr<T> vs. Gtkmm



On Mon, 2010-03-15 at 23:28 +0200, Michael wrote:
> I'm not sure it's related, but it also has something to do with
> smart pointers.
> The get_object() method in Gtk::Builder class returns
> Glib::RefPtr<Glib::Object>.
> What would be the proper way of extracting those objects from builder
> files?

You could use Gtk::Builder::get_widget():

http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Builder.html#a6604abee829e66e0d5d97072227e7cd3

-- 
José



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