
Gnome::Gtk4::R-BuilderScope
Description
Gnome::Gtk4::R-BuilderScope is an interface to provide language binding support to Gnome::Gtk4::Builder.
The goal of Gnome::Gtk4::R-BuilderScope is to look up programming-language-specific values for strings that are given in a Gnome::Gtk4::Builder UI file.
The primary intended audience is bindings that want to provide deeper integration of Gnome::Gtk4::Builder into the language.
A Gnome::Gtk4::R-BuilderScope instance may be used with multiple Gnome::Gtk4::Builder objects, even at once.
By default, GTK will use its own implementation of Gnome::Gtk4::R-BuilderScope for the C language which can be created via .newbuilderscope()
in class Gnome::Gtk4::BuilderCScope
.
If you implement Gnome::Gtk4::R-BuilderScope for a language binding, you may want to (partially) derive from or fall back to a Gnome::Gtk4::BuilderCScope, as that class implements support for automatic lookups from C symbols.