Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.ConfigBase.5.py
2016-05-18 16:38:18 -07:00

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...