xfconf api: how to retrieve list of entries in some path

Enrico Weigelt, metux IT consult lkml at metux.net
Sat Oct 29 20:01:07 CEST 2022

Hello folks,

I'm looking for a way to retrieve the names of all entries under certain
path (similar to listing a directory in a filesystem) - this shall only
give the names of the entries directly under the given path, but not
their sub entries.

The use case is defining configuration objects (which themselves are
sort of structs) and enumerating them directly (w/o additionally having 
to record their names anywhere else)

I've tried xfconf_channel_get_properties(), but that doesn't work as I
expected: it ignores entries of type "empty" (but shows "array"s), and
also lists all the sub-entries.

Does anyone have an idea how to do that correctly ?


Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info at metux.net -- +49-151-27565287

More information about the Xfce4-dev mailing list