Re: [Cluttermm] Use of Glib::RefPtr<T> vs. Gtkmm
- From: José Alburquerque <jaalburquerque cox net>
- To: Michael <space3000 gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: [Cluttermm] Use of Glib::RefPtr<T> vs. Gtkmm
- Date: Mon, 15 Mar 2010 18:08:06 -0400
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]