John Fouhy wrote:
Is there a tutorial anywhere on using wxConfig? Or some example code? I can't find anything on the wiki or in the demo (unless I'm blind). Is it a good class to use for managing app configuration information? -- John.
John, I had the same question recently. Below are the helpful
responses I received from Robin and others. (Moral of the story: in
addition to the wiki, search the archives of the mail list also).
Ira
···
–
Hi. According to the wxPython documentation,
in wx.ConfigBase the value of the entry_type in “key_name = value” pair
can be one of the following:int Type_Boolean =
2 int
Type_Float = 4
int Type_Integer =
3 int
Type_String = 1
int Type_Unknown = 0The Problem? In my test program below, regardless of 's entry_type, 1 is returned:
value**
–