Specifications
Athena Widget Set libXaw 1.0.7
:Meta<Key>H: backward-kill-word( ) \n\
:Meta<Key>\<: beginning-of-file( ) \n\
:Meta<Key>\>: end-of-file( )\n\
:Meta<Key>]: forward-paragraph( ) \n\
:Meta<Key>[: backward-paragraph( ) \n\
˜Shift Meta<Key>Delete: delete-previous-word( ) \n\
Shift Meta<Key>Delete: backward-kill-word( ) \n\
˜Shift Meta<Key>Backspace: delete-previous-word( ) \n\
Shift Meta<Key>Backspace: backward-kill-word( ) \n\
<Key>Right: forward-character( ) \n\
<Key>Left: backward-character( ) \n\
<Key>Down: next-line( ) \n\
<Key>Up: previous-line( ) \n\
<Key>Delete: delete-previous-character( ) \n\
<Key>BackSpace: delete-previous-character( ) \n\
<Key>Linefeed: newline-and-indent( ) \n\
<Key>Return: newline( ) \n\
<Key>: insert-char( )\n\
<Key>Kanji: reconnect-im( )\n\
<FocusIn>: focus-in( )\n\
<FocusOut>: focus-out( )\n\
<Btn1Down>: select-start( )\n\
<Btn1Motion>: extend-adjust( ) \n\
<Btn1Up>: extend-end(PRIMARY, CUT_BUFFER0) \n\
<Btn2Down>: insert-selection(PRIMARY, CUT_BUFFER0) \n\
<Btn3Down>: extend-start( ) \n\
<Btn3Motion>: extend-adjust( ) \n\
<Btn3Up>: extend-end(PRIMARY, CUT_BUFFER0) \n
5.4. Text Functions
The following functions are provided as convenience routines for use with the Textwidget.
Although manyofthese actions can be performed by modifying resources, these interfaces are
frequently more efficient.
These data structures are defined in the Textwidget’spublic header file, <X11/Xaw/Text.h>.
typedef long XawTextPosition;
Character positions in the Textwidget begin at 0 and end at n, where n is the number of charac-
ters in the Textsource widget.
typedef struct {
int firstPos;
int length;
char *ptr;
unsigned long format;
}XawTe x tBlock, *XawTextBlockPtr;
firstPos The first position, or index, to use within the ptr field. The value is commonly
zero.
length The number of characters to be used from the ptr field. The number of characters
used is commonly the number of characters in ptr,and must not be greater than
the length of the string in ptr.
82