set_template_from_resource


Description:

[ CCode ( cname = "gtk_widget_class_set_template_from_resource" ) ]
[ Version ( since = "3.10" ) ]
public class 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:

this

A Widget

resource_name

The name of the resource to load the template from