Package: gtk

Function gtk:widget-class-set-template-from-resource

Lambda List

gtk:widget-class-set-template-from-resource (gtype name)

Arguments

gtype -- a g:type-t type ID of the widget class
name -- a string with the name of the resource to load the template from

Details

A convenience function to call the gtk:widget-class-set-template function.

Note that any class that installs templates must call the gtk:widget-init-template function in the instance initializer of the widget.
 

See also

2024-9-14