Query: dwtcstextsetselection
OS: ultrix
Section: 3dwt
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DwtCSTextSetSelection(3Dwt) DwtCSTextSetSelection(3Dwt) Name DwtCSTextSetSelection - Highlights the specified text in the compound-string text widget and makes it the current global selection. Syntax void DwtCSTextSetSelection(widget, first, last, time) Widget widget; int first, last; Time time; Arguments widget Specifies the ID of the compound-string text widget. first Specifies the first character position of the selected compound-string text. last Specifies the last character position of the selected compound-string text. 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 DwtCSTextSetSelection function makes the specified text in the compound-string text widget the current global selection and highlights it in the compound-string text widget. Within the text window, first marks the first character position and last marks the last position. The field characters start at 0 and increase sequentially. See Also DwtCSText(3Dwt), DwtCSTextCreate(3Dwt), DwtCSTextReplace(3Dwt), DwtCSTextGetString(3Dwt), DwtCSTextSetString(3Dwt), DwtCSTextGetEd- itable(3Dwt), DwtCSTextSetEditable(3Dwt), DwtCSTextGetMaxLength(3Dwt), DwtCSTextSetMaxLength(3Dwt), DwtCSTextGetSelection(3Dwt) Guide to the XUI Toolkit: C Language Binding Guide to the XUI Toolkit Intrinsics: C Language Binding DwtCSTextSetSelection(3Dwt)
Related Man Pages |
---|
dwtcstext(3dwt) - ultrix |
dwtclipboardlock(3dwt) - ultrix |
dwtmainsetareas(3dwt) - ultrix |
dwtresolvepartoffsets(3dwt) - ultrix |
dwtstartcopyfromclipboard(3dwt) - ultrix |
Similar Topics in the Unix Linux Community |
---|
outputting selected characters from within a variable |
Linux novice - Search and delete |
IF statement dealing with current time |