Can't unset start/end child of Gtk::Paned
In the quest to make sure everything in GTKmm takes a reference rather than a pointer, some functions that actually should have taken a pointer no longer work. For example,
/** Sets the end child of @a paned to @a child.
*
* If @a child is <tt>nullptr</tt>, the existing child will be removed.
*
* @param child The widget to add.
*/
void set_end_child(Widget& child);
Contrary to the documentation, it is impossible to pass nullptr
to this function to unset the end child. And since there is no unset_end_child()
, doing so is actually impossible.