From: Ryan Leavengood Date: 2006-05-26T23:26:53+09:00 Subject: Re: FXRuby - Howto remember some default settings as specified by the user ? On 5/26/06, Nuralanur@aol.com wrote: > > I have many such choices, so this might make the GUI program more comfortable > to work with. > How could that be done ? Store the user settings in a Hash object and then save that to YAML when the user changes options (or when the program exits...though that means crashes result in non-saved settings.) When the program starts, see if the user settings file exists, if it does load it, otherwise load the default settings. Then apply the settings to the GUI elements. Ryan