builderscope: Add a note for implementors

Recommend that scope implementations should fall
back to or derive from GtkBuilderCScope in order
to not lose GTK's type-guessing machinery.

Related: #5398
This commit is contained in:
Matthias Clasen 2022-12-10 16:02:07 -05:00
parent 6f7a4b67c2
commit 5c70f2ae9b

View File

@ -41,6 +41,10 @@
*
* By default, GTK will use its own implementation of `GtkBuilderScope`
* for the C language which can be created via [ctor@Gtk.BuilderCScope.new].
*
* If you implement `GtkBuilderScope` for a language binding, you
* may want to (partially) derive from or fall back to a [class@Gtk.BuilderCScope],
* as that class implements support for automatic lookups from C symbols.
*/
/**