Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DwtCSTextGetSelection(3Dwt)

Name

DwtCSTextGetSelection − Retrieves the global selection, if any, currently highlighted, in the compound string text widget. 

Syntax

     DwtCompString DwtCSTextGetSelection(widget)
     Widget widget;

Arguments

widgetSpecifies the ID of the compound-string text widget. 

Description

The DwtCSTextGetSelection function retrieves the text currently highlighted (selected) in the compound string 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 text by calling XtFree. 

Return Value

This function returns a pointer to the selected compound string text. 

See Also

DwtCSText (3Dwt), DwtCSTextCreate (3Dwt), DwtCSTextReplace (3Dwt), DwtCSTextGetString (3Dwt), DwtCSTextSetString (3Dwt), DwtCSTextGetEditable (3Dwt), DwtCSTextSetEditable (3Dwt), DwtCSTextGetMaxLength (3Dwt), DwtCSTextSetMaxLength (3Dwt), DwtCSTextSetSelection (3Dwt),
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026