module Gtk::BuilderScope

Overview

Gtk::BuilderScope is an interface to provide 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.

Direct including types

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/builder_scope.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.cast(obj : GObject::Object) : self #

Cast a GObject::Object to self, throws a TypeCastError if the cast can't be made.


[View source]

Class Method Detail

def self.cast?(obj : GObject::Object) : self | Nil #

[View source]
def self.g_type : UInt64 #

[View source]

Instance Method Detail

abstract def to_unsafe #

[View source]