Hello,

Why Glib::RefPtr<T> is used in Clutter for smart-pointer management
everywhere and Gtkmm doesn't bother about that much?

We can create a button object with Gtk::Button *button = new Gtk::Button();

But we have to struggle in Clutter with that mess:
Glib::RefPtr<Clutter::Actor> actor = new Clutter::Actor::create();

and not do like this:
Clutter::Actor* actor = new Clutter::Actor();

--
Aarto
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to