Query: dwtstextgetselection
OS: ultrix
Section: 3dwt
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DwtSTextGetSelection(3Dwt) DwtSTextGetSelection(3Dwt) Name DwtSTextGetSelection - Retrieves the global selection, if any, currently highlighted in the simple text widget. Syntax char *DwtSTextGetSelection(widget) Widget widget; Arguments widget Specifies the widget ID. Description The DwtSTextGetSelection function retrieves the text currently highlighted (selected) in the simple text widget. It returns a NULL-pointer if no text is selected in the widget. The application is responsible for freeing the storage associated with the string by calling XtFree. Return Values This function returns the text currently highlighted on the screen. See Also DwtSText(3Dwt), DwtSTextGetString(3Dwt), DwtSTextSetEditable(3Dwt), DwtSTextGetMaxLength(3Dwt), DwtSTextGetMaxLength(3Dwt), DwtS- TextSetSelection(3Dwt), DwtSTextClearSelection(3Dwt) Guide to the XUI Toolkit: C Language Binding Guide to the XUI Toolkit Intrinsics: C Language Binding DwtSTextGetSelection(3Dwt)
Similar Topics in the Unix Linux Community |
---|
A simple (?) loop |
explain the code |
dig-x: only part of the output is needed |
MS Word + Perl |
help extracting text from file |