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>sextend-start()extend-adjust()extend-end(name[,name,...])This action finds the nearest end of the current selection,and moves it to the current pointer location (iftriggered by a button event) or text cursor location(if triggered by a key event).This action allows a selection started with an extend-startaction to be modified.This action ends a text selection that began with theextend-start action, and asserts ownership of the selectionor selections specified. A name can be a selection(e.g. PRIMARY) or a cut buffer (e.g CUT_BUFFER0).Note that case is important. If no names are given,PRIMARY is asserted.insert-selection(name[,name,...])named selection that exists or the cut buffer that isThis action retrieves the value of the first (left-most)not empty and inserts it into the Text widget at thecurrent insert point location. A name can be a selection(e.g. PRIMARY) or a cut buffer (e.g CUT_BUFFER0).Note that case is important.The New Line Actionsnewline-and-indent()newline-and-backup()newline()Kill and ActionsThis action inserts a newline into the text and addsspaces to that line to indent it to match the previousline.This action inserts a newline into the text after theinsert point.This action inserts a newline into the text before theinsert point.kill-word()backward-kill-word()kill-selection()kill-to-end-of-line()kill-paragraph()These actions act exactly like the delete-nextwordand delete-previous-word actions, but theystuff the word that was killed into the kill buffer(CUT_BUFFER_1).This action deletes the current selection and stuffsthe deleted text into the kill buffer (CUT_BUFFER_1).This action deletes the entire line to the right of theinsert point position, and stuffs the deleted text intothe kill buffer (CUT_BUFFER_1).This action deletes the current paragraph, if betweenparagraphs it deletes the paragraph above the insertpoint, and stuffs the deleted text into the kill buffer(CUT_BUFFER_1).71

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

Saved successfully!

Ooh no, something went wrong!