Created attachment 8290 Add support for GObject Introspection and Vala Patch add support for GObject introspection and Vala. Some methods are not introspectable (I tried several fixes in GTK-Doc block, without success), especially xfconf_channel_get_properties(). But we can use the org.xfce.Xfconf service. Note: it requires the patch available in bug #15112
Created attachment 8291 Example using Xfconf.Channel This test script create 'xfce4-dummy' channel with 2 properties: - /property-boolean → GObject.TYPE_BOOLEAN - /property-string → GObject.TYPE_STRING
Created attachment 8292 Example using 'property-changed' signal Another script which shows 'property-changed' signal (it requires previous script).
(In reply to Olivier Duchateau from comment #0) > Created attachment 8290 > Add support for GObject Introspection and Vala > > Patch add support for GObject introspection and Vala. Some methods are not > introspectable (I tried several fixes in GTK-Doc block, without success), > especially xfconf_channel_get_properties(). But we can use the > org.xfce.Xfconf service. > > Note: it requires the patch available in bug #15112 It respects namespace of GIR file (first letter capital, rest lower case).
Created attachment 8304 Add support for GObject Introspection and Vala Improve GObject introspection support (now only error is Xfconf error Quark enumeration, otherwise all methods are introspectable).
Olivier Duchateau referenced this bugreport in commit 8d4284058bd7acd951f112ac6d3fd42c02eefe7f Add support for GObject introspection and vala https://git.xfce.org/xfce/xfconf/commit?id=8d4284058bd7acd951f112ac6d3fd42c02eefe7f
Thank you very much Olivier !