rwdtinker 1.46 → 1.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Readme.txt CHANGED
@@ -119,6 +119,27 @@ There are two ways to add applets to the directories.
119
119
 
120
120
  To exit, press the x inside the browser window.
121
121
 
122
+ == To add context sensitive help
123
+
124
+ You need to add a hash file that just needs to contain
125
+ Helptext.update( :myapplet_generalhelp => " This is the general help
126
+ You can add help text hear")
127
+
128
+ And you need to add a help run script that will call runhelpwindow
129
+ This should have a method that includes:
130
+ setting $help_topic, and adds to $helptopicsarray, saves the calling window and calls runhelpwindow which will render the help message.
131
+
132
+ if @rwd_tab == "gemservescan"
133
+ $help_topic = "gemdocs_help"
134
+ end
135
+ $helptopicsarray = $helptopicsarray | ["rubyslippers_generalhelp", "Install_Gem","GemCommands_help", "gemfilesinstalled","gemdocs_help"]
136
+ if @rwd_window != "rwdtinkerhelpwindow"
137
+ $previouswindow = @rwd_window
138
+ $previoustab = @rwd_tab
139
+ end
140
+ runhelpwindow
141
+ end
142
+
122
143
  == Languages
123
144
 
124
145
 
@@ -212,6 +233,9 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
212
233
  Thanks, Steven Gibson
213
234
 
214
235
  == Changelog
236
+ version 1.47
237
+ change to context sensitive help
238
+
215
239
  version 1.46
216
240
  more work on context help
217
241
  window calls point to tab as well as windows
@@ -1,4 +1,4 @@
1
- # this method views an existing address record
1
+ # this method puts the configuration rexord on the screen
2
2
  def loadconfigurationrecord
3
3
 
4
4
  require 'fileutils'
@@ -1,4 +1,4 @@
1
- # this method clears the on screen variables
1
+ # this method loads the on screen variables into the running class
2
2
  def loadconfigurationvariables
3
3
 
4
4
  configfiletoload = File.join(ConfigurationDir,TinkerWin2ConfigurationFileName)
@@ -1,2 +1,2 @@
1
1
 
2
- RwdTinkerVersion = "1.46"
2
+ RwdTinkerVersion = "1.47"
@@ -119,6 +119,27 @@ There are two ways to add applets to the directories.
119
119
 
120
120
  To exit, press the x inside the browser window.
121
121
 
122
+ == To add context sensitive help
123
+
124
+ You need to add a hash file that just needs to contain
125
+ Helptext.update( :myapplet_generalhelp => " This is the general help
126
+ You can add help text hear")
127
+
128
+ And you need to add a help run script that will call runhelpwindow
129
+ This should have a method that includes:
130
+ setting $help_topic, and adds to $helptopicsarray, saves the calling window and calls runhelpwindow which will render the help message.
131
+
132
+ if @rwd_tab == "gemservescan"
133
+ $help_topic = "gemdocs_help"
134
+ end
135
+ $helptopicsarray = $helptopicsarray | ["rubyslippers_generalhelp", "Install_Gem","GemCommands_help", "gemfilesinstalled","gemdocs_help"]
136
+ if @rwd_window != "rwdtinkerhelpwindow"
137
+ $previouswindow = @rwd_window
138
+ $previoustab = @rwd_tab
139
+ end
140
+ runhelpwindow
141
+ end
142
+
122
143
  == Languages
123
144
 
124
145
 
@@ -212,6 +233,9 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
212
233
  Thanks, Steven Gibson
213
234
 
214
235
  == Changelog
236
+ version 1.47
237
+ change to context sensitive help
238
+
215
239
  version 1.46
216
240
  more work on context help
217
241
  window calls point to tab as well as windows
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.4
3
3
  specification_version: 1
4
4
  name: rwdtinker
5
5
  version: !ruby/object:Gem::Version
6
- version: "1.46"
7
- date: 2005-01-23
6
+ version: "1.47"
7
+ date: 2005-01-26
8
8
  summary: rwdtinker application is a framework to program for RubyWebDialogs.
9
9
  require_paths:
10
10
  - "."