On Mar 25, 9:27 pm, Alex Shulgin <alex.shul... / gmail.com> wrote: > > I've implemented a bit of this for my gtk-fortune project back while. > You might be interested to check out these: > > http://gtk-fortune.rubyforge.org/svn/trunk/ > http://gtk-fortune.rubyforge.org/svn/trunk/cmdgui Yeah, one more thing: Without having to read the code, the following might be insightful: @cmdgui = CmdGUI::Glade.new(@glade, { "-s" => "short_quotes_radiobutton", "-l" => "long_quotes_radiobutton", "-n" => ["custom_length_spinbutton", "custom_length_checkbutton"], "-o" => "offensive_quotes_checkbutton", "-c" => "show_cookie_file_checkbutton" }, @cmdline) -- Alex