gtk2/docs/reference
Benjamin Otte f8a7f30a0d builder: Add GtkBuilderScope
GtkBuilderScope is an interface that provides the scope that a builder
instance operates in.
It creates closures and resolves types. Language bindings are meant to
use this interface to customize the behavior of builder files, in
particular when instantiating templates.

A default implementation for C is provided via GtkBuilderCScope (to keep
with the awkward naming that glib uses for closures). It is derivable on
purpose so that languages or extensions that extend C can use it.

The reftest code in fact does derive GtkBuilderCScope for its own scope
implementation that implements looking up symbols in modules.

gtk-widget-factory was updated to use the new GtkBuilderCScope to add
its custom callback symbols.
So it does it different from gtk-demo, which uses the normal way of
exporting symbols for dlsym() and thereby makes the 2 demos test the 2
ways GtkBuilder uses for looking up symbols.
2019-12-12 19:39:23 +01:00
..
gdk Merge branch 'gdk-backend-imports' into 'master' 2019-11-18 10:27:32 +00:00
gsk meson: Rename documentation option to gtk_doc 2019-07-01 20:16:37 -04:00
gtk builder: Add GtkBuilderScope 2019-12-12 19:39:23 +01:00
meson.build meson: Rename documentation option to gtk_doc 2019-07-01 20:16:37 -04:00