Package: gtk

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

Lambda List

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

Arguments

gtype -- a g:type-t type ID for the widget class
path -- a string for the resource path 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 its documentation for an example.
 

See also

2025-12-07