module Gtk::BuilderScope
Overview
Provides language binding support to Gtk::Builder
.
The goal of Gtk::BuilderScope
is to look up programming-language-specific
values for strings that are given in a Gtk::Builder
UI file.
The primary intended audience is bindings that want to provide deeper
integration of Gtk::Builder
into the language.
A Gtk::BuilderScope
instance may be used with multiple Gtk::Builder
objects,
even at once.
By default, GTK will use its own implementation of Gtk::BuilderScope
for the C language which can be created via Gtk::BuilderCScope.new
.
If you implement Gtk::BuilderScope
for a language binding, you
may want to (partially) derive from or fall back to a Gtk::BuilderCScope
,
as that class implements support for automatic lookups from C symbols.
Direct including types
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/builder_scope.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made.