6.3.16 XmText widget methods

Widget objects whose widget class is subclassed from XmText have the following additional methods:

TextClearSelection( time)
This function corresponds with XmTextClearSelection.

TextCopy( time)
This function corresponds with XmTextCopy.

TextCut( time)
This function corresponds with XmTextCut.

TextDisableRedisplay( )
This function corresponds with XmTextDisableRedisplay.

TextEnableRedisplay( )
This function corresponds with XmTextEnableRedisplay.

TextFindString( start, string, direction)
Returns position or None. This function corresponds with XmTextFindString.

TextGetBaseline( )
Returns basline. This function corresponds with XmTextGetBaseline.

TextGetEditable( )
Returns state. This function corresponds with XmTextGetEditable.

TextGetInsertionPosition( )
Returns position. This function corresponds with XmTextGetInsertionPosition.

TextGetLastPosition( )
Returns position. This function corresponds with XmTextGetLastPosition.

TextGetMaxLength( )
Returns length. This function corresponds with XmTextGetMaxLength.

TextGetSelection( )
Returns text. This function corresponds with XmTextGetSelection.

TextGetSelectionPosition( )
Returns (owner, left, right). This function corresponds with XmTextGetSelectionPosition.

TextGetSource( )
Returns source. This function corresponds with XmTextGetSource.

TextGetString( )
Returns text. This function corresponds with XmTextGetString.

TextGetTopCharacter( )
Returns position. This function corresponds with XmTextGetTopCharacter.

TextInsert( position, value)
This function corresponds with XmTextInsert.

TextPaste( )
Returns is_owner. This function corresponds with XmTextPaste.

TextPosToXY( position)
Returns (x, y) or None. This function corresponds with XmTextPosToXY.

TextRemove( )
Returns success. This function corresponds with XmTextRemove.

TextReplace( from_pos, to_pos, value)
This function corresponds with XmTextReplace.

TextScroll( lines)
This function corresponds with XmTextScroll.

TextSetAddMode( state)
This function corresponds with XmTextSetAddMode.

TextSetEditable( editable)
This function corresponds with XmTextSetEditable.

TextSetHighlight( left, right, mode)
This function corresponds with XmTextSetHighlight.

TextSetInsertionPosition( position)
This function corresponds with XmTextSetInsertionPosition.

TextSetMaxLength( max_length)
This function corresponds with XmTextSetMaxLength.

TextSetSelection( first, last, time)
This function corresponds with XmTextSetSelection.

TextSetSource( source, top_character, cursor_position)
This function corresponds with XmTextSetSource.

TextSetString( value)
This function corresponds with XmTextSetString.

TextSetTopCharacter( top_character)
This function corresponds with XmTextSetTopCharacter.

TextShowPosition( position)
This function corresponds with XmTextShowPosition.

TextXYToPos( x, y)
This function corresponds with XmTextXYToPos.