gi-gtk-4.0.5: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Interfaces.BuilderScope

Description

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 builderCScopeNew.

Synopsis

Exported types

class (GObject o, IsDescendantOf BuilderScope o) => IsBuilderScope o Source #

Type class for types which can be safely cast to BuilderScope, for instance with toBuilderScope.

Instances

Instances details
(GObject o, IsDescendantOf BuilderScope o) => IsBuilderScope o Source # 
Instance details

Defined in GI.Gtk.Interfaces.BuilderScope

toBuilderScope :: (MonadIO m, IsBuilderScope o) => o -> m BuilderScope Source #

Cast to BuilderScope, for types for which this is known to be safe. For general casts, use castTo.

Methods