rwd_files/HowTo_Tinker.txt in rwdshell-0.94 vs rwd_files/HowTo_Tinker.txt in rwdshell-0.95

- old
+ new

@@ -1,16 +1,13 @@ = RwdTinker framework for RubyWebDialogs - RwdTinker is a web brower interface to and system for developing programs == Usage - How to Use the Tinker framework Program (rwdtinker) - 1. stand alone application 2. framework for building applications 3. Open brower windows with html documents The GUI interface used is RubyWebDialogs @@ -20,17 +17,14 @@ ruby init.rb Then point your web browser to: http://localhost:7705/ - == Viewing installed Applets: - Go to "List Scripts" tab - You can get a list of all installed applets by clicking the listfiles button To see the text of a install file Type in the name of the file you want. @@ -117,10 +111,31 @@ when you click on a document name, the document should pop up in a browser window, or in another browser tab. To exit, press the x inside the browser window. +== To add context sensitive help + + You need to add a hash file that just needs to contain + Helptext.update( :myapplet_generalhelp => " This is the general help + You can add help text hear") + + And you need to add a help run script that will call runhelpwindow + This should have a method that includes: + setting $help_topic, and adds to $helptopicsarray, saves the calling window and calls runhelpwindow which will render the help message. + + if @rwd_tab == "gemservescan" + $help_topic = "gemdocs_help" + end + $helptopicsarray = $helptopicsarray | ["rubyslippers_generalhelp", "Install_Gem","GemCommands_help", "gemfilesinstalled","gemdocs_help"] + if @rwd_window != "rwdtinkerhelpwindow" + $previouswindow = @rwd_window + $previoustab = @rwd_tab + end + runhelpwindow + end + == Languages You can add tranlations in the lang subdirectory You change the $lang constant in Tinker config file in the configuration directory @@ -209,10 +224,44 @@ For more information about RubyWebDialogs see: http://www.erikveen.dds.nl/rubywebdialogs/index.html Thanks, Steven Gibson -== Changelog +== Changelog +version 1.52 + added function to install applets from gem directory + +version 1.51 + changed return to main + changed configuration of remote ports + updated context sensitive help + +version 1.50 + changed unzip applet to be internal code - no exec to unzip program + changed order of tabs on back window - list applets now first + added rwdwcalc applet in to zips directory + changed width of text fields with help from RubyWebDialogs author + changed listing of help options, vertical instead of horizontal + +version 1.49 + added demon function for remote queries + startup application on first available port + +version 1.48 + fix in context sensitive help so that applets can use it better + +version 1.47 + change to context sensitive help + +version 1.46 + more work on context help + window calls point to tab as well as windows + help added help buttons on Document, Selection, View Applet, tabs + +version 1.45 + first steps toward context sensitive help + added help button on main window/tab + version 1.44 updated directory structure - refactored gui files Changed gui directory names - more like Java package titles version 1.43