set_template_from_resource


Description:

[ Version ( since = "3.10" ) ]
public static void set_template_from_resource (string resource_name)

A convenience function to call set_template.

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

Parameters:

resource_name

The name of the resource to load the template from

widget_class

A Widget