WidgetClass.setTemplateFromResource

A convenience function to call gtk_widget_class_set_template().

Note that any class that installs templates must call gtk_widget_init_template() in the widget’s instance initializer.

class WidgetClass
void
setTemplateFromResource
()

Parameters

resourceName string

The name of the resource to load the template from

Meta

Since

3.10