ultrix man page for dwtstextsetselection

Query: dwtstextsetselection

OS: ultrix

Section: 3dwt

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DwtSTextSetSelection(3Dwt)												DwtSTextSetSelection(3Dwt)

Name
       DwtSTextSetSelection - Makes the specified text in the simple text widget the current global selection and highlights it in the simple text
       widget.

Syntax
       void DwtSTextSetSelection(widget, first, last, time)
	    Widget widget;
	    int first, last;
	    Time time;

Arguments
       widget	 Specifies the widget ID.

       first	 Specifies the first character position of the selected string.

       last	 Specifies the last character position of the selected string.

       time	 Specifies the time of the event that led to the call to XSetSelectionOwner.  You can pass  either  a  timestamp  or  CurrentTime.
		 Whenever possible, however, use the timestamp of the event leading to the call.

Description
       The  DwtSTextSetSelection function makes the specified text in the simple text widget the current global selection and highlights it in the
       simple text widget.  Within the text window, first marks the first character position and last marks the last position.	The field  charac-
       ters are numbered in sequence starting at 0.

See Also
       DwtSText(3Dwt),  DwtSTextGetString(3Dwt),  DwtSTextSetEditable(3Dwt), DwtSTextGetMaxLength(3Dwt), DwtSTextGetMaxLength(3Dwt), DwtS-
       TextGetSelection(3Dwt), DwtSTextClearSelection(3Dwt)
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

															DwtSTextSetSelection(3Dwt)
Related Man Pages
dwtcstextsetstring(3dwt) - ultrix
dwtstextgetselection(3dwt) - ultrix
dwtstextgetstring(3dwt) - ultrix
dwtstextreplace(3dwt) - ultrix
dwtstextsetstring(3dwt) - ultrix
Similar Topics in the Unix Linux Community
sed.. Add new line after finding text
A simple (?) loop
simple selection between two words
Linux novice - Search and delete
IF statement dealing with current time