diff options
author | swick <empty> | 1989-04-06 13:38:07 +0000 |
---|---|---|
committer | swick <empty> | 1989-04-06 13:38:07 +0000 |
commit | abc21d3538e028edf2460c047e7eb4ba4d501192 (patch) | |
tree | 4223ad34bc0693d37ab47ade6f6393dc40a7f3a7 /xc/doc | |
parent | a2c34e08c089fae53412ad3fdd861c1e61434dd4 (diff) |
change Dialog default maximumLength to 0 and better document how
the value resource is used.
Diffstat (limited to 'xc/doc')
-rw-r--r-- | xc/doc/specs/Xaw/Xtk.widgets | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/xc/doc/specs/Xaw/Xtk.widgets b/xc/doc/specs/Xaw/Xtk.widgets index 3c90a1268..4301592da 100644 --- a/xc/doc/specs/Xaw/Xtk.widgets +++ b/xc/doc/specs/Xaw/Xtk.widgets @@ -4297,10 +4297,10 @@ Whether .PN XtMapWidget is automatic T} -XtNmaximumLength int 256 Maximum number of input characters +XtNmaximumLength int 0 Length of value buffer XtNsensitive Boolean True Whether widget receives input XtNtranslations TranslationTable None Event-to-action translations -XtNvalue char* NULL Pointer to default string +XtNvalue char* NULL Pointer to input value string XtNwidth Dimension computed at create Width of dialog XtNx Position NULL x position of dialog XtNy Position NULL y position of dialog @@ -4345,7 +4345,12 @@ Specifies the widget ID of the Dialog box. .LP If a string was specified in the .PN XtNvalue -resource, Dialog will store the input directly into the string. +resource, Dialog will store the input directly into the string and will +display any initial value in the string. The initial value may be used +as a default value for the user input. +.LP +If no value resource is specified for the Dialog widget, the text user +input area is not displayed. .LP .sp .IN "Dialog widget" "removing children" |