XmText widget methods -- X Python Reference Manual

Next: XmTextField widget methods Prev: XmSelectionBox widget methods Up: Xm Widget object Top: Top

## 5.3.16. XmText widget methods

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

TextClearSelection (time)
  Returns `None`. This function corresponds with `XmTextClearSelection`.

TextCopy (time)
  Returns `None`. This function corresponds with `XmTextCopy`.

TextCut (time)
  Returns `None`. This function corresponds with `XmTextCut`.

TextDisableRedisplay ()
  Returns `None`. This function corresponds with `XmTextDisableRedisplay`.

TextEnableRedisplay ()
  Returns `None`. 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)
  Returns `None`. 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)
  Returns `None`. This function corresponds with `XmTextReplace`.

TextScroll (lines)
  Returns `None`. This function corresponds with `XmTextScroll`.

TextSetAddMode (state)
  Returns `None`. This function corresponds with `XmTextSetAddMode`.

TextSetEditable (editable)
  Returns `None`. This function corresponds with `XmTextSetEditable`.

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

TextSetInsertionPosition (position)
  Returns `None`. This function corresponds with `XmTextSetInsertionPosition`.

TextSetMaxLength (max_length)
  Returns `None`. This function corresponds with `XmTextSetMaxLength`.

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

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

TextSetString (value)
  Returns `None`. This function corresponds with `XmTextSetString`.

TextSetTopCharacter (top_character)
  Returns `None`. This function corresponds with `XmTextSetTopCharacter`.

TextShowPosition (position)
  Returns `None`. This function corresponds with `XmTextShowPosition`.

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

Next: XmTextField widget methods Prev: XmSelectionBox widget methods Up: Xm Widget object Top: Top