Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dxmcstextgetselectioninfo(3x) [osf1 man page]

DXmCSTextGetSelectionInfo(3X)											     DXmCSTextGetSelectionInfo(3X)

NAME
DXmCSTextGetSelectionInfo - Retrieves (returns) the left and right positions of the currently selected text. SYNOPSIS
Boolean DXmCSTextGetSelectionInfo( Widget widget, DXmCSTextPosition *left, DXmCSTextPosition *right ); PARAMETERS
The identifier (widget ID) of the compound string text widget. The left logical position corresponding to the selected text. The right logical position corresponding to the selected text. DESCRIPTION
The DXmCSTextGetSelectionInfo routine, when True, returns the left and right logical positions corresponding to the currently selected (highlighted) text. If no text is selected, this routine returns False. RETURN VALUES
A Boolean value that, when False, indicates that there is no currently selected text; otherwise, the value is True. DXmCSTextGetSelectionInfo(3X)

Check Out this Related Man Page

DXmCSTextSetSelection(3X)												 DXmCSTextSetSelection(3X)

NAME
DXmCSTextSetSelection - Designates the specified text as the current primary selection by highlighting it in the compound string text wid- get. SYNOPSIS
void DXmCSTextSetSelection( Widget widget, DXmCXTextPosition first, DXmCXTextPosition last, Time time ); PARAMETERS
The identifier (widget ID) of the compound string text widget. A value that represents the position of the first character in the text being selected. A value that represents the position of the last character in the text being selected. Specifies the time of the event that generated the call to the DXmCSTextSetSelection routine. DESCRIPTION
The DXmCSTextSetSelection routine designates the specified text as the current primary selection by highlighting it in the compound string text widget. Within the text window, first marks the position of the first character in the text and last marks the last character. The field characters start at 0 and increase sequentially. SEE ALSO
DXmCreateCSText(3X), DXmCSTextClearSelection(3X), DXmCSTextGetSelection(3X) DXmCSTextSetSelection(3X)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies