settings dialog

Howdy,

I've been brewing over what seems like a kludgey method of working with settings.

This here example script is beautiful in its simplicity, but seems quite ugly to me. I suspect it could be useful for some as wiki page, but instead of posting it on the wiki, I thought I'd post it here and see if my learned colleagues would like to offer advice on improving the implementation.

After adding lots more settings, the code seems a little excessive. I implemented this style in one of the apps I wrote using wx.Python. I implemented it this way, because I didn't want to spend much time thinking about it, I simply wanted to get done and move on to the next project. Since I wrote this code, however, it's been nawing at me, there's got to be a cleaner method to the maddness...

-Joe

example.py (3.74 KB)