xfconf api: how to retrieve list of entries in some path
"Enrico Weigelt, metux IT consult" <[email protected]> Sat, 29 Oct 2022 20:01:07 +0200
| Newsgroups | gmane.comp.desktop.xfce.devel.version4,gmane.comp.xfce.user |
|---|---|
| Message-ID | <[email protected]> |
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 ? --mtx -- --- 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 [email protected] -- +49-151-27565287 _______________________________________________ Xfce4-dev mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce4-dev