gtk/testsuite
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
..
a11y testsuite/a11y/about: Fix exp. output per 31066a69 2019-06-14 18:05:06 +01:00
css css: Handle invalid :not() selectors 2019-12-03 18:12:25 +01:00
gdk testsuite: Stop using g_test_bug() 2019-05-12 17:28:18 +02:00
gsk testsuite: Add an inset shadow rendering test case 2019-12-03 08:40:35 +01:00
gtk builder: Add GtkBuilderScope 2019-12-12 19:39:23 +01:00
reftests builder: Add GtkBuilderScope 2019-12-12 19:39:23 +01:00
tools Update the test scripts 2019-11-29 10:06:39 -05:00
meson.build Check for diff's availability 2019-11-01 15:20:47 +00:00