in reply to Re^2: chooseDirectory set Default
in thread chooseDirectory set Default

For something as simple as the program your making (at least you made it appear simple), you can simply write the data in a fashion such as:

initdir:/home/user initbuttonstate:active

et cetera.

Of course, then open the config and gather the information. Depending on the complexity of the config file, you can just split each line on a colon, and use the second variable of the array.

<(^.^-<) <(-^.^<) <(-^.^-)> (>^.^-)> (>-^.^)>