deprecated list_keys, documentation not clear enough
I'm trying to save all settings to a dict and restore them after unittests. However, list_keys, which I use to construct my dict along with get_value, is deprecated.
https://lazka.github.io/pgi-docs/#Gio-2.0/classes/Settings.html#Gio.Settings.list_keys
says, "Use Gio.SettingsSchema.list_keys() instead.". But it doesn't say where to get that SettingsSchema object. All I have is a Gio.Settings object.
https://lazka.github.io/pgi-docs/#Gio-2.0/classes/SettingsSchema.html#Gio.SettingsSchema talks about some kind of plugins, but I don't have that.
Could you please improve the documentation/docstrings a bit? In particular, how to really properly replace the use of settings.list_keys()
, if the settings object is all I currently have.
Thanks.
Edited by sezanzeb