Skip to content

Draft: Add a counterpart to gtk_widget_init_template()

Emmanuele Bassi requested to merge ebassi/template-fini into master

Children added through a template still need to be unparented when the widget is disposed. Instead of doing so manually, we should have a dual of the gtk_widget_init_template() functions that clears all the bound objects, and calls gtk_widget_unparent() on the direct children of the widget.

Edited by Emmanuele Bassi

Merge request reports