SimpleView.st
branchjv
changeset 7338 aa3b1dc01cc0
parent 7332 ff1fb34dbf49
parent 7337 db8f09c46475
child 7340 4ffa0a87c163
--- a/SimpleView.st	Wed May 04 23:14:49 2016 +0200
+++ b/SimpleView.st	Fri May 06 06:55:28 2016 +0200
@@ -1746,15 +1746,31 @@
 !
 
 helpKey
+    "The helpKey (symbol) or nil.
+     This can be set programatically, in views which are constructed
+     'by hand' - i.e. not va the UI painter.
+     When constructed from a UI-spec, this key is typically specified there
+     (however, special apps may change it dynamically, if a component changes
+      its semantic meaning dynamically)"
+     
     ^ helpKey
 !
 
-helpKey:something
-    helpKey := something.
+helpKey:aSymbolOrNil
+    "The helpKey (symbol) or nil.
+     This can be set programatically, in views which are constructed
+     'by hand' - i.e. not va the UI painter.
+     When constructed from a UI-spec, this key is typically specified there
+     (however, special apps may change it dynamically, if a component changes
+      its semantic meaning dynamically)"
+
+    helpKey := aSymbolOrNil.
 !
 
 keyboardProcessor
-    "return my keyboard processor"
+    "return my keyboard processor.
+     If non-nil, that one gets a chance to intercept and deal with things like
+     escape or return in modal boxes."
 
     ^ nil