|
Packit |
b099d7 |
'\" t
|
|
Packit |
b099d7 |
...\" CreScE.sgm /main/8 1996/09/08 20:35:54 rws $
|
|
Packit |
b099d7 |
.de P!
|
|
Packit |
b099d7 |
.fl
|
|
Packit |
b099d7 |
\!!1 setgray
|
|
Packit |
b099d7 |
.fl
|
|
Packit |
b099d7 |
\\&.\"
|
|
Packit |
b099d7 |
.fl
|
|
Packit |
b099d7 |
\!!0 setgray
|
|
Packit |
b099d7 |
.fl \" force out current output buffer
|
|
Packit |
b099d7 |
\!!save /psv exch def currentpoint translate 0 0 moveto
|
|
Packit |
b099d7 |
\!!/showpage{}def
|
|
Packit |
b099d7 |
.fl \" prolog
|
|
Packit |
b099d7 |
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
|
|
Packit |
b099d7 |
\!!psv restore
|
|
Packit |
b099d7 |
.
|
|
Packit |
b099d7 |
.de pF
|
|
Packit |
b099d7 |
.ie ?\\*(f1?? .ds f1 \\n(.f
|
|
Packit |
b099d7 |
.el .ie ?\\*(f2?? .ds f2 \\n(.f
|
|
Packit |
b099d7 |
.el .ie ?\\*(f3?? .ds f3 \\n(.f
|
|
Packit |
b099d7 |
.el .ie ?\\*(f4?? .ds f4 \\n(.f
|
|
Packit |
b099d7 |
.el .tm ? font overflow
|
|
Packit |
b099d7 |
.ft \\$1
|
|
Packit |
b099d7 |
..
|
|
Packit |
b099d7 |
.de fP
|
|
Packit |
b099d7 |
.ie !?\\*(f4?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f4
|
|
Packit |
b099d7 |
. ds f4\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .ie !?\\*(f3?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f3
|
|
Packit |
b099d7 |
. ds f3\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .ie !?\\*(f2?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f2
|
|
Packit |
b099d7 |
. ds f2\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .ie !?\\*(f1?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f1
|
|
Packit |
b099d7 |
. ds f1\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .tm ? font underflow
|
|
Packit |
b099d7 |
..
|
|
Packit |
b099d7 |
.ds f1\"
|
|
Packit |
b099d7 |
.ds f2\"
|
|
Packit |
b099d7 |
.ds f3\"
|
|
Packit |
b099d7 |
.ds f4\"
|
|
Packit |
b099d7 |
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
|
|
Packit |
b099d7 |
.TH "XmCreateScrolledText" "library call"
|
|
Packit |
b099d7 |
.SH "NAME"
|
|
Packit |
b099d7 |
\fBXmCreateScrolledText\fP \(em The Text ScrolledText convenience creation function
|
|
Packit |
b099d7 |
.iX "XmCreateScrolledText"
|
|
Packit |
b099d7 |
.iX "creation functions" "XmCreateScrolledText"
|
|
Packit |
b099d7 |
.SH "SYNOPSIS"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
.nf
|
|
Packit |
b099d7 |
#include <Xm/Text\&.h>
|
|
Packit |
b099d7 |
\fBWidget \fBXmCreateScrolledText\fP\fR(
|
|
Packit |
b099d7 |
\fBWidget \fBparent\fR\fR,
|
|
Packit |
b099d7 |
\fBString \fBname\fR\fR,
|
|
Packit |
b099d7 |
\fBArgList \fBarglist\fR\fR,
|
|
Packit |
b099d7 |
\fBCardinal \fBargcount\fR\fR);
|
|
Packit |
b099d7 |
.fi
|
|
Packit |
b099d7 |
.SH "DESCRIPTION"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
\fBXmCreateScrolledText\fP creates an instance of a Text widget
|
|
Packit |
b099d7 |
that is contained within a ScrolledWindow\&.
|
|
Packit |
b099d7 |
The ScrolledWindow parent is created managed\&.
|
|
Packit |
b099d7 |
All ScrolledWindow subarea
|
|
Packit |
b099d7 |
widgets are automatically created by this function\&.
|
|
Packit |
b099d7 |
The ID returned by this function is that of the Text widget
|
|
Packit |
b099d7 |
(not the ScrolledWindow widget)\&.
|
|
Packit |
b099d7 |
Use this widget ID for all operations on the Text widget\&.
|
|
Packit |
b099d7 |
Use the widget ID of the Text widget\&'s parent for
|
|
Packit |
b099d7 |
all operations on the ScrolledWindow\&.
|
|
Packit |
b099d7 |
To obtain the ID of the ScrolledWindow widget associated with the
|
|
Packit |
b099d7 |
Text widget, use the Xt Intrinsics \fBXtParent\fP function\&.
|
|
Packit |
b099d7 |
The name of the ScrolledWindow created by this function is formed by
|
|
Packit |
b099d7 |
concatenating the letters \fBSW\fP
|
|
Packit |
b099d7 |
onto the end of the \fIname\fP specified in the parameter list\&.
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
The Text widget defaults to single-line text edit; therefore, no ScrollBars
|
|
Packit |
b099d7 |
are displayed\&. The Text resource \fBXmNeditMode\fP must be set to
|
|
Packit |
b099d7 |
\fBXmMULTI_LINE_EDIT\fP to display the ScrollBars\&.
|
|
Packit |
b099d7 |
The results of placing a Text widget inside a ScrolledWindow when the
|
|
Packit |
b099d7 |
Text\&'s \fBXmNeditMode\fP is \fBXmSINGLE_LINE_EDIT\fP are undefined\&.
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
All arguments to either the Text or the ScrolledWindow widget can be
|
|
Packit |
b099d7 |
specified at creation time with this function\&.
|
|
Packit |
b099d7 |
Changes to initial position and size are sent only to the ScrolledWindow
|
|
Packit |
b099d7 |
widget\&.
|
|
Packit |
b099d7 |
Other resources are sent to the Text or the ScrolledWindow widget as
|
|
Packit |
b099d7 |
appropriate\&.
|
|
Packit |
b099d7 |
Note that the result of providing the \fBXmNdestroyCallback\fP
|
|
Packit |
b099d7 |
resource in the creation \fIarglist\fP is unspecified\&. The
|
|
Packit |
b099d7 |
application should use the \fBXtAddCallback\fP function to add
|
|
Packit |
b099d7 |
callbacks to the appropriate widget (Text or ScrolledWindow) after
|
|
Packit |
b099d7 |
creating it\&.
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
This function forces the following initial values for ScrolledWindow
|
|
Packit |
b099d7 |
resources:
|
|
Packit |
b099d7 |
.IP " \(bu" 6
|
|
Packit |
b099d7 |
\fBXmNscrollingPolicy\fP is set to \fBXmAPPLICATION_DEFINED\fP\&.
|
|
Packit |
b099d7 |
.IP " \(bu" 6
|
|
Packit |
b099d7 |
\fBXmNvisualPolicy\fP is set to \fBXmVARIABLE\fP\&.
|
|
Packit |
b099d7 |
.IP " \(bu" 6
|
|
Packit |
b099d7 |
\fBXmNscrollBarDisplayPolicy\fP is set to \fBXmSTATIC\fP\&.
|
|
Packit |
b099d7 |
.IP " \(bu" 6
|
|
Packit |
b099d7 |
\fBXmNshadowThickness\fP is set to 0 (zero)\&.
|
|
Packit |
b099d7 |
.IP "\fIparent\fP" 10
|
|
Packit |
b099d7 |
Specifies the parent widget ID
|
|
Packit |
b099d7 |
.IP "\fIname\fP" 10
|
|
Packit |
b099d7 |
Specifies the name of the created widget
|
|
Packit |
b099d7 |
.IP "\fIarglist\fP" 10
|
|
Packit |
b099d7 |
Specifies the argument list
|
|
Packit |
b099d7 |
.IP "\fIargcount\fP" 10
|
|
Packit |
b099d7 |
Specifies the number of attribute/value pairs in the argument list
|
|
Packit |
b099d7 |
(\fIarglist\fP)
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
For a complete definition of Text and its associated resources, see
|
|
Packit |
b099d7 |
\fBXmText\fP(3)\&.
|
|
Packit |
b099d7 |
.SH "RETURN"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
Returns the Text widget ID\&.
|
|
Packit |
b099d7 |
.SH "RELATED"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
\fBXmScrolledWindow\fP(3) and \fBXmText\fP(3)\&.
|
|
Packit |
b099d7 |
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:21
|