set_template_scope


Description:

[ CCode ( cname = "gtk_widget_class_set_template_scope" ) ]
public class void set_template_scope (BuilderScope scope)

For use in language bindings, this will override the default BuilderScope to be used when parsing GtkBuilder XML from this class’s template data.

Note that this must be called from a composite widget classes class initializer after calling set_template.

Parameters:

this

A Widget

scope

The BuilderScope to use when loading the class template