Hi there, in many of my classes I have a class member similar to this: Gtk::CheckButton *id_checkbutton{};
I for one reason or another cannot put it in the Glib :: RefPtr<>, so my question is, do I have to manually delete that object or the gtk framework will do that? That checkbutton is added in the hierarchy of objects in the UI.
It depends. Do you call Gtk::make_managed() when constructing your Gtk::CheckButton instance? If so yes, the GTK framework will cleanup everything for you.