forked from AuroraMiddleware/gtk
f8a7f30a0d
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. |
||
---|---|---|
.. | ||
images | ||
actions.xml | ||
broadway.xml | ||
building.xml | ||
compiling.xml | ||
css-overview.xml | ||
css-properties.xml | ||
drawing-model.xml | ||
getting_started.xml.in | ||
glossary.xml | ||
gtk4-broadwayd.xml | ||
gtk4-builder-tool.xml | ||
gtk4-demo-application.xml | ||
gtk4-demo.xml | ||
gtk4-docs.xml | ||
gtk4-encode-symbolic-svg.xml | ||
gtk4-icon-browser.xml | ||
gtk4-launch.xml | ||
gtk4-overrides.txt | ||
gtk4-query-settings.xml | ||
gtk4-sections.txt | ||
gtk4-update-icon-cache.xml | ||
gtk4-widget-factory.xml | ||
gtk4.types.in | ||
input-handling.xml | ||
meson.build | ||
migrating-2to4.xml | ||
migrating-3to4.xml | ||
osx.xml | ||
other_software.xml | ||
overview.xml | ||
question_index.xml | ||
resources.xml | ||
running.xml | ||
text_widget.xml | ||
tree_widget.xml | ||
version.xml.in | ||
visual_index.xml | ||
wayland.xml | ||
windows.xml | ||
x11.xml |