From: Hidetoshi NAGAI Date: 2011-10-07T14:07:22+09:00 Subject: Re: RubyTK Examples From: Michael Smith Subject: RubyTK Examples Date: Fri, 7 Oct 2011 06:56:51 +0900 Message-ID: <29579b98a0b2441fab04d75b68346bc4@ruby-forum.com> > I've browsed through some of the RubyTK examples provided, but in all > the tutorials they show how to create the widgets, but not the mechanics > of saving the fields and inputs to a file/database/xml etc... > > Does anyone know of a decent tutorial that covers that sort of thing? > I'm relatively new to Ruby, but not a complete novice. Any help would be > appreciated, as I hit a block. Did you see examples and WidgetDemo which included in Ruby's source archive (at ext/tk/sample/). Those don't match for your request, but may be useful for you. WidgetDemo can show the source of each sub-demo script on the text widget frame. On that, you can modify the source and re-run the modified script. WidgetDemo will help you to study Ruby/Tk by trial and errors. The examples and WidgetDemo may not be included in a binary package of Ruby. If you can't find them, please download Ruby's source from Ruby's official site. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) Department of Artificial Intelligence, Kyushu Institute of Technology