Text   [plain text]


.\" $Xorg: Text,v 1.3 2000/08/17 19:42:28 cpqbld Exp $
.NH 2
Text Widget
.LP
.XS
	Text Widget
.XE
.IN "Text widget" "" "@DEF@"
.LP
.Ds 0
.TA 2.0i
.ta 2.0i
Application Header file	<X11/Xaw/Text.h>
.IN "Text.h" ""
Class Header file	<X11/Xaw/TextP.h>
.IN "TextP.h" ""
Class		textWidgetClass
.IN "textWidgetClass" ""
Class Name	Text
.IN "Text widget" "class name"
Superclass	Simple
.De
.sp 1
.LP
The Text widget is the glue that binds all the other pieces together, it
maintains the internal state of the displayed text, and acts as a
mediator between the source and sink.  
.LP
This section lists the resources that are actually part of the 
Text widget, and explains the functionality provided by each.
.NH 3
Resources
.LP
When creating a Text widget instance, the following resources are
retrieved from the argument list or from the resource database:
.LP
.IN "Text widget" "resources"
.TS H
expand;
lw(1i) lw(1i) lw(1.1i) lw(.5i) lw(1.9i).
_
.sp 3p
.TB
Name	Class	Type	Notes	Default Value
.sp 3p
_
.TH
.R
.sp 3p
accelerators	Accelerators	AcceleratorTable		NULL
ancestorSensitive	AncestorSensitive	Boolean	D	True
autoFill	AutoFill	Boolean		False
background	Background	Pixel		XtDefaultBackground
backgroundPixmap	Pixmap	Pixmap		XtUnspecifiedPixmap
borderColor	BorderColor	Pixel		XtDefaultForeground
borderPixmap	Pixmap	Pixmap		XtUnspecifiedPixmap
borderWidth	BorderWidth	Dimension		1
bottomMargin	Margin	Position		2
colormap	Colormap	Colormap		Parent's Colormap
cursor	Cursor	Cursor		XC_xterm
cursorName	Cursor	String		NULL
depth	Depth	int	C	Parent's Depth
destroyCallback	Callback	XtCallbackList		NULL
displayCaret	Output	Boolean		True
displayPosition	TextPosition	XawTextPosition		0
height	Height	Dimension	A	Font height + margins
insensitiveBorder	Insensitive	Pixmap		GreyPixmap
insertPosition	TextPosition	int		0
leftMargin	Margin	Position		2
mappedWhenManaged	MappedWhenManaged	Boolean		True
pointerColor	Foreground	Pixel		XtDefaultForeground
pointerColorBackground	Background	Pixel		XtDefaultBackground
resize	Resize	XawTextResizeMode		XawtextResizeNever
rightMargin	Margin	Position		4
screen	Screen	Pointer	R	Parent's Screen
scrollHorizontal	Scroll	ScrollMode		XawtextScrollNever
scrollVertical	Scroll	XawTextScrollMode		XawtextScrollNever
selectTypes	SelectTypes	XawTextSelectType*		See above
sensitive	Sensitive	Boolean		True
textSink	TextSink	Widget		NULL
textSource	TextSource	Widget		NULL
topMargin	Margin	Position		2		
translations	Translations	TranslationTable		See above
unrealizeCallback	Callback	XtCallbackList		NULL
width	Width	Dimension		100
wrap	Wrap	WrapMode		XawtextWrapNever
x	Position	Position		0
y	Position	Position		0
.sp 3p
_
.TE
.Ac
.As
.Af Bold
.Bg
.Gp
.Bc
.Bp
.Bw
.Tm Bold
.Cm
.Cu
.Cn
.Dp
.Dc
.Tc Bold
.Td Bold
.Hw
.Ib
.Ti Bold
.Mm
.Pf
.Pb
.Tz Bold
.Sc
.Ts Bold
.St Bold
.Se
.To Bold
.Tr
.Tw Bold
.Tu Bold
.Xy