gtk2/demos/widget-factory
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
..
data widget-factory: Rename to org.gtk.WidgetFactory4 2019-04-02 00:27:33 +00:00
icons Add a missing icon 2019-02-13 12:49:31 -05:00
help-overlay.ui Simplify all ui files again 2018-01-18 17:53:44 -05:00
meson.build widget-factory: Rename to org.gtk.WidgetFactory4 2019-04-02 00:27:33 +00:00
org.gtk.WidgetFactory4.appdata.xml widget-factory: Rename to org.gtk.WidgetFactory4 2019-04-02 00:27:33 +00:00
org.gtk.WidgetFactory4.desktop widget-factory: Rename to org.gtk.WidgetFactory4 2019-04-02 00:27:33 +00:00
widget-factory.c builder: Add GtkBuilderScope 2019-12-12 19:39:23 +01:00
widget-factory.css widget-factory: Demo different Frame border-styles 2017-10-02 20:22:41 +01:00
widget-factory.gresource.xml widget-factory: Rename to org.gtk.WidgetFactory4 2019-04-02 00:27:33 +00:00
widget-factory.ui widget factory: Fix more grid layout fallout 2019-12-09 21:29:03 -05:00