When and when not to use Glib::RefPtr?



Hello,

is there a general rule of thumb which classes require access through a
Glib::RefPtr? For example, based on the gtkmm tutorial, a TreeModel is
constructed directly, while a TreeView is handled through a RefPtr. What's the
point?




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