Re: Various questions about Gtk::PlacesSidebar
- From: Murray Cumming <murrayc murrayc com>
- To: Krzysztof Kosiński <tweenk pl gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Various questions about Gtk::PlacesSidebar
- Date: Tue, 03 Sep 2013 09:40:19 +0200
On Mon, 2013-09-02 at 16:13 +0200, Krzysztof Kosiński wrote:
2013/9/2 Kjell Ahlstedt <kjell ahlstedt bredband net>:
Objects of classes that derive from Gtk::Object are not put in
Glib::RefPtr<>s. I'm not sure why.
I'm also a little confused by this but it probably has something to do
with Gtk::manage().
GtkWidgets don't use simple reference counting in the GTK+ C API. They
can be destroyed at any time regardless of the reference count. So we
can't use RefPtr with them easily.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]