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 `GtkBuilderScope` 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 [[email protected]_template].

Parameters:

this

A `GtkWidgetClass`

scope

The `GtkBuilderScope` to use when loading the class template




2022 vala-language.org