Widget.getCompositeName

string getCompositeName()

Obtains the composite name of a widget.

Returns

the composite name of widget, or null if widget is not

a composite child. The string should be freed when it is no longer needed.

Deprecated

Use [gtk.widget_class.WidgetClass.setTemplate], or don’t use this API at all.