Package: gtk
Function gtk:widget-dispose-template
Lambda Listgtk:widget-dispose-template (widget gtype) ArgumentsDetails Clears the template children for the given widget. This function is the opposite of the gtk:widget-init-template function,
and it is used to clear all the template children from a widget instance. If
you bound a template child to a field in the instance structure, or in the instance private data structure, the field will be set to NULL after
this function returns. You should call this function inside the GObjectClass.dispose() implementation of any widget that called the gtk:widget-init-template function. Typically, you will want to call this function last, right before chaining up to the parent type’s dispose implementation. Since 4.8 | See also |
2024-9-14