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>sreconnect-im()The popup will also be dismissed if the parameters includethe string ``wm_delete_window,'' and the eventis a ClientMessage event requesting dismissal or isnot a ClientMessage event. This action is not sensitiveto the case of the strings passed as parameters.When the international resource is true, inputis usually passed to an input method, a separateprocess, for composing. Sometimes the connectionto this process gets severed; this action will attemptto reconnect it. Causes for severage include networktrouble, and the user explicitly killing one inputmethod and starting a new one. This action may alsoestablish first connection when the application isstarted before the input method.Text Selections for Application ProgrammersThe default behavior of the text selection array is described in the section calledText Selections for Users. To modify the selections a programmer must constructa XawTextSelectType array (called the selection array), containing the selectionsdesired, and pass this as the new value for the selectionTypes resource.The selection array may also be modified using the XawText<strong>Set</strong>SelectionArrayfunction. All selection arrays must end with the value XawselectNull. The selectionTypesresource has no converter registered and cannot be modified throughthe resource manager.The array contains a list of entries that will be called when the user attempts to selecttext in rapid succession with the select-start action (usually by clicking a pointerbutton). The first entry in the selection array will be used when the select-startaction 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-startaction will begin at the top of the selection array. When XawselectNull is reachedthe array is recycled beginning with the first element.XawselectAllXawselectCharXawselectLineXawselectNullXawselectParagraphXawselectPositionXawselectWordSelects the contents of the entire buffer.Selects text characters asthe pointer moves over them.Selects the entire line.Indicates the end of the selection array.Selects the entire paragraph.Selects the current pointer position.Selects whole words as thepointer moves onto them.The default selectType array is:{XawselectPosition, XawselectWord, XawselectLine, XawselectParagraph, XawselectAll,The selection array is not copied by the text widgets. The application must allocatespace for the array and cannot deallocate or change it until the text widget is destroyedor until a new selection array is set.74

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

Saved successfully!

Ooh no, something went wrong!