#DOCUMENTATION by cg
class: DialogBox class
comment/format in:
#examples
#request:displayAt:centered:action:initialAnswer:okLabel:cancelLabel:title:onCancel:
#request:displayAt:centered:action:initialAnswer:okLabel:cancelLabel:title:onCancel:list:
#request:displayAt:centered:action:initialAnswer:okLabel:cancelLabel:title:onCancel:list:initialSelection:
#request:displayAt:centered:action:initialAnswer:okLabel:cancelLabel:title:onCancel:list:initialSelection:entryCompletionBlock:
--- a/DialogBox.st Tue Jul 18 15:31:36 2017 +0200
+++ b/DialogBox.st Thu Aug 03 14:39:41 2017 +0200
@@ -398,7 +398,7 @@
open
[exEnd]
- fixing the dialogs size (suppres it calculating its size from the
+ fixing the dialog's size (suppress it calculating its size from the
preferredExtents of its components):
[exBegin]
DialogBox new
@@ -3995,7 +3995,7 @@
request:aString displayAt:aPoint centered:centered action:resultAction initialAnswer:initial okLabel:okLabel cancelLabel:cancelLabel title:titleString onCancel:cancelValue
"launch a Dialog, which allows user to enter a string.
- The dialogs window is titled titleString, or the default (if nil).
+ The dialog's window is titled titleString, or the default (if nil).
If aPoint is nonNil, the box is shown there, optionally centered around it.
If it is nil, it is shown at the current pointer position or at the
screen center (if centered is true).
@@ -4016,13 +4016,15 @@
list:nil
initialSelection:nil
entryCompletionBlock:nil
+
+ "Modified (comment): / 03-08-2017 / 14:38:47 / cg"
!
request:aString displayAt:aPoint centered:centered action:resultAction
initialAnswer:initial okLabel:okLabel cancelLabel:cancelLabel title:titleString
onCancel:cancelValue list:listToSelectFrom
"launch a Dialog, which allows user to enter a string.
- The dialogs window is titled titleString, or the default (if nil).
+ The dialog's window is titled titleString, or the default (if nil).
If aPoint is nonNil, the box is shown there, optionally centered around it.
If it is nil, it is shown at the current pointer position or at the
screen center (if centered is true).
@@ -4099,15 +4101,16 @@
list:#(foo bar baz)
"
- "Created: / 29.5.1996 / 14:35:04 / cg"
- "Modified: / 5.5.1999 / 10:50:22 / cg"
+ "Created: / 29-05-1996 / 14:35:04 / cg"
+ "Modified: / 05-05-1999 / 10:50:22 / cg"
+ "Modified (comment): / 03-08-2017 / 14:38:51 / cg"
!
request:aString displayAt:aPoint centered:centered action:resultAction
initialAnswer:initial okLabel:okLabel cancelLabel:cancelLabel title:titleString
onCancel:cancelValue list:listToSelectFrom initialSelection:anIntervalOrNil
"launch a Dialog, which allows user to enter a string.
- The dialogs window is titled titleString, or the default (if nil).
+ The dialog's window is titled titleString, or the default (if nil).
If aPoint is nonNil, the box is shown there, optionally centered around it.
If it is nil, it is shown at the current pointer position or at the
screen center (if centered is true).
@@ -4184,8 +4187,9 @@
list:#(foo bar baz)
"
- "Created: / 29.5.1996 / 14:35:04 / cg"
- "Modified: / 5.5.1999 / 10:50:22 / cg"
+ "Created: / 29-05-1996 / 14:35:04 / cg"
+ "Modified: / 05-05-1999 / 10:50:22 / cg"
+ "Modified (comment): / 03-08-2017 / 14:38:54 / cg"
!
request:aString displayAt:aPoint centered:centeredOrNil action:resultAction
@@ -4193,7 +4197,7 @@
onCancel:cancelValue list:listToSelectFrom initialSelection:anIntervalOrNil
entryCompletionBlock:entryCompletionBlock
"launch a Dialog, which allows user to enter a string.
- The dialogs window is titled titleString, or the default (if nil).
+ The dialog's window is titled titleString, or the default (if nil).
If aPoint is nonNil, the box is shown there, optionally centered around it.
If it is nil, it is shown at the current pointer position or at the
screen center (if centered is true).
@@ -4304,8 +4308,9 @@
list:#(foo bar baz)
"
- "Created: / 29.5.1996 / 14:35:04 / cg"
- "Modified: / 5.5.1999 / 10:50:22 / cg"
+ "Created: / 29-05-1996 / 14:35:04 / cg"
+ "Modified: / 05-05-1999 / 10:50:22 / cg"
+ "Modified (comment): / 03-08-2017 / 14:38:57 / cg"
!
request:aString displayAt:aPoint centered:centered action:resultAction initialAnswer:initial onCancel:cancelValue