12.07.2015 Views

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Text <strong>Widget</strong>sscroll-one-line-up()scroll-one-line-down()Delete ActionsThese actions scroll the current text field up or downby one line. They do not move the insert point. Otherthan the scrollbars this is the only way that theinsert point may be moved off of the visible text area.The widget will be scrolled so that the insert point isback on the screen as soon as some other action isexecuted.delete-next-character()delete-previous-character()These actions remove the character immediately beforeor after the insert point. If a Carriage Return isremoved then the next line is appended to the end ofthe current line.delete-next-word()delete-previous-word()delete-selection()Selection Actionsselect-word()select-all()select-start()select-adjust()select-end(name[,name,...])These actions remove all characters between the insertpoint location and the next word boundary. Aword boundary is defined as a Space, Tab or CarriageReturn.This action removes all characters in the current selection.The selection can be set with the selectionactions.This action selects the word in which the insert pointis currently located. If the insert point is betweenwords then it will select the previous word.This action selects the entire text buffer.This action sets the insert point to the current pointerlocation (if triggered by a button event) or text cursorlocation (if triggered by a key event). It will thenbegin a selection at this location. If many of these selectionactions occur quickly in succession then theselection count mechanism will be invoked (see thesection titled \fBText Selections for Application Programmers\fPfor details).This action allows a selection started with the select-startaction to be modified, as described above.This action ends a text selection that began withthe select-start action, and asserts ownership ofthe selection or selections specified. A name canbe a selection (e.g., PRIMARY) or a cut buffer (e.g.,CUT_BUFFER0). Note that case is important. If nonames are specified, PRIMARY is asserted.70

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!