Widget.setCompositeName

void setCompositeName(string name)

Sets a widgets composite name. The widget must be a composite child of its parent; see [gtk.widget.Widget.pushCompositeChild].

Parameters

namethe name to set

Deprecated

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