WidgetClass.setTemplateFromResource

A convenience function to call Widget.classSetTemplate.

Note that any class that installs templates must call Widget.initTemplate 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