Object Hierarchy:

Gtk.BuilderScope Gtk.BuilderScope Gtk.BuilderScope GLib.Object GLib.Object GLib.Object->Gtk.BuilderScope


[ CCode ( type_cname = "GtkBuilderScopeInterface" , type_id = "gtk_builder_scope_get_type ()" ) ]
public interface BuilderScope : Object

`GtkBuilderScope` is an interface to provide language binding support to `GtkBuilder`.

The goal of `GtkBuilderScope` is to look up programming-language-specific values for strings that are given in a `GtkBuilder` UI file.

The primary intended audience is bindings that want to provide deeper integration of `GtkBuilder` into the language.

A `GtkBuilderScope` instance may be used with multiple `GtkBuilder` objects, even at once.

By default, GTK will use its own implementation of `GtkBuilderScope` for the C language which can be created via [].

If you implement `GtkBuilderScope` for a language binding, you may want to (partially) derive from or fall back to a [class@Gtk.BuilderCScope], as that class implements support for automatic lookups from C symbols.

All known implementing classes:

Namespace: Gtk
Package: gtk4



Inherited Members: