Specifications
Athena Widget Set libXaw 1.0.7
only on Textwidgets that use ASCII text.
transpose-characters( ) This action will swap the position of the character to the left of
the insert point with the character to the right of the insert point.
The insert point will then be advanced one character.
no-op([action]) The no-op action makes no change to the text widget, and is
mainly used to override translations. This action takes one
optional argument. If this argument is RingBell then a beep is
sent to the display.
XawWMProtocols([wm_protocol_name])
This action is written specifically for the file insertion and the
search and replace dialog boxes. This action is attached to those
shells by the Textwidget, in order to handle ClientMessage
ev e nts with the WM_PROT O COLS atom in the detail field. This
action supports WM_DELETE_WINDOWonthe Textwidget
popups, and may support other windowmanager protocols if
necessary in the future. The popup will be dismissed if the win-
dowmanager sends a WM_DELETE_WINDOWrequest and
there are no parameters in the action call, which is the default.
The popup will also be dismissed if the parameters include the
string ‘‘wm_delete_window,’’ and the event is a ClientMessage
ev e nt requesting dismissal or is not a ClientMessage event. This
action is not sensitive tothe case of the strings passed as parame-
ters.
reconnect-im() When the international resource is true,input is usually passed
to an input method, a separate process, for composing. Some-
times the connection to this process gets severed; this action will
attempt to reconnect it. Causes for severage include network
trouble, and the user explicitly killing one input method and
starting a newone. This action may also establish first connec-
tion when the application is started before the input method.
5.2.7. Text Selections for Application Programmers
The default behavior of the text selection array is described in the section called Text Selections
forUsers.Tomodify the selections a programmer must construct a XawTextSelectType array
(called the selection array), containing the selections desired, and pass this as the newvalue for
the selectionTypes resource. The selection array may also be modified using the XawTextSetSe-
lectionArray function. All selection arrays must end with the value XawselectNull.The selec-
tionTypes resource has no converter registered and cannot be modified through the resource man-
ager.
The array contains a list of entries that will be called when the user attempts to select text in rapid
succession with the select-start action (usually by clicking a pointer button). The first entry in the
selection array will be used when the select-start action is initially called. The next entry will be
used when select-start is called again, and so on. If a timeout value (1/10 of a second) is
exceeded, the the next select-start action will begin at the top of the selection array.When Xaws-
electNull is reached the array is recycled beginning with the first element.
XawselectAll Selects the contents of the entire buffer.
XawselectChar Selects text characters as the pointer movesoverthem.
XawselectLine Selects the entire line.
XawselectNull Indicates the end of the selection array.
80