mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
22 lines
612 B
Python
22 lines
612 B
Python
|
|
config = wx.Config("MyAppName")
|
|
names = []
|
|
|
|
# first enum all entries
|
|
more, value, index = config.GetFirstEntry()
|
|
|
|
while more:
|
|
names.append(value)
|
|
more, value, index = config.GetNextEntry(index)
|
|
|
|
# ... we have all entry names in names...
|
|
|
|
# now all groups...
|
|
more, value, index = config.GetFirstGroup()
|
|
|
|
while more:
|
|
names.append(value)
|
|
more, value, index = config.GetNextGroup(index)
|
|
|
|
# ... we have all group (and entry) names in names...
|