Frans Pinkse wrote:
Hi All,
With the AppName,VendorName and filename into the args of wx.FileConfig () does this mean one can have more than one Vendor and more than one AppName per VendorName in one and the same file?
If the answer is Yes, I must have made a mistake somewhere.
The app name and vendor name will be used to generate a filename based on platform standards, but if you give the filename yourself then I think that overrides the automatic naming. The app name and vendor names are more for the generic approach where you just use wxConfig and it will read/write to the Registry on Windows under HKCU/Software/VendorName/AppName, and on Linux it will write to a file at ~/.AppName and on OSX it will write to a file at "~/Library/Preferences/AppName Preferences"
To have multiple sections within the same file, use the config.SetPath method.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!