|
XmTextSetEditable(3) -- A Text function that sets the edit permission
|
XmTextSetEditable sets the edit permission state of the Text widget. When set to True, the text string can be edited. widget Specifies the Text widget ID editable Specifies a Boolean value that when True allows text string edits For a complete definition of Text and its associated resources, see XmText(3). |
XmTextSetHighlight(3) -- A Text function that highlights text
|
XmTextSetHighlight highlights text between the two specified character positions. The mode parameter determines the type of highlighting. Highlighting text merely changes the visual appearance of the text; it does not set the selection. widget Specifies the Text widget ID left Specifies the position of the left boundary of text to be highlighted. This is an integer number of characters from the be... |
|
XmTextSetInsertionPosition(3) -- A Text function that sets the position of the insert cursor
|
XmTextSetInsertionPosition sets the insertion cursor position of the Text widget. This routine also calls the widget's XmNmotionVerifyCallback callbacks if the insertion cursor position changes. widget Specifies the Text widget ID position Specifies the position of the insertion cursor. This is an integer number of characters from the beginning of the text buffer. The first character position is ... |
XmTextSetMaxLength(3) -- A Text function that sets the value of the current maximum allowable length of a text string entered from the
|
XmTextSetMaxLength sets the value of the current maximum allowable length of the text string in the Text widget. The maximum allowable length prevents the user from entering a text string from the keyboard that is larger than this limit. Strings that are entered using the XmNvalue (or XmNvalueWcs) resource, or the XmTextSetString (or XmTextSetStringWcs) function ignore this resource. widget Specif... |
XmTextSetSelection(3) -- A Text function that sets the primary selection of the text
|
XmTextSetSelection sets the primary selection of the text in the widget. It also sets the insertion cursor position to the last position of the selection and calls the widget's XmNmotionVerifyCallback callbacks. widget Specifies the Text widget ID first Marks the first character position of the text to be selected last Marks the last position of the text to be selected time Specifies the time at ... |
XmTextSetSource(3) -- A Text function that sets the source of the widget
|
XmTextSetSource sets the source of the Text widget. Text widgets can share sources of text so that editing in one widget is reflected in another. This function sets the source of one widget so that it can share the source of another widget. Setting a new text source destroys the old text source if no other Text widgets are using that source. To replace a text source but keep it for later use, crea... |
XmTextSetString(3) -- A Text function that sets the string value
|
XmTextSetString sets the string value of the Text widget. This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first and the resulting data is passed to the XmNmodifyVerifyCallbackW... |
XmTextSetStringWcs(3) -- A Text function that sets a wide character string value
|
XmTextSetStringWcs sets the wide character string value of the Text widget. This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first and the resulting data is passed to the XmNmod... |
XmTextSetTopCharacter(3) -- A Text function that sets the position of the first character displayed
|
XmTextSetTopCharacter sets the position of the text at the top of the Text widget. If the XmNeditMode is XmMULTI_LINE_EDIT, the line of text that contains top_character is displayed at the top of the widget without the text shifting left or right. If the edit mode is XmSINGLE_LINE_EDIT, the text moves horizontally so that top_character is the first character displayed. widget Specifies the Text wi... |
XmTextShowPosition(3) -- A Text function that forces text at a given position to be displayed
|
XmTextShowPosition forces text at the specified position to be displayed. If the XmNautoShowCursorPosition resource is True, the application should also set the insert cursor to this position. widget Specifies the Text widget ID position Specifies the character position to be displayed. This is an integer number of characters from the beginning of the text buffer. The first character position is 0... |
XmTextXYToPos(3) -- A Text function that accesses the character position nearest an x and y position
|
XmTextXYToPos accesses the character position nearest to the specified x and y position, relative to the upper left corner of the Text widget. In the case of horizontal writing, the position is the origin of the character. In the case of vertical writing, the position is the vertical origin of the character. widget Specifies the Text widget ID x Specifies the x position, relative to the upper left... |
XmToggleButton(3) -- The ToggleButton widget class
|
ToggleButton sets nontransitory state data within an application. Usually this widget consists of an indicator (square, diamond, or round) with either text or a pixmap on one side of it. However, it can also consist of just text or a pixmap without the indicator. The toggle graphics display a 1-of-many, N-of-many, or 1-of-many-round selection state. When a toggle indicator is displayed, a square i... |
XmToggleButtonGadget(3) -- The ToggleButtonGadget widget class
|
ToggleButtonGadget sets nontransitory state data within an application. Usually this gadget consists of an indicator (square, diamond, or round) with either text or a pixmap on one side of it. However, it can also consist of just text or a pixmap without the indicator. The toggle graphics display a 1-of-many, N-of-many, or N-of-many-round selection state. When a toggle indicator is displayed, a sq... |
XmToggleButtonGadgetGetState(3) -- A ToggleButtonGadget function that obtains the state of a ToggleButtonGadget
|
XmToggleButtonGadgetGetState obtains the state of a ToggleButtonGadget. widget Specifies the ToggleButtonGadget ID For a complete definition of ToggleButtonGadget and its associated resources, see XmToggleButtonGadget(3). |
XmToggleButtonGadgetSetState(3) -- A ToggleButtonGadget function that sets or changes the current state
|
XmToggleButtonGadgetSetState sets or changes the ToggleButtonGadget's current state. widget Specifies the ToggleButtonGadget widget ID. state Specifies a Boolean value that indicates whether the ToggleButtonGadget state is selected or unselected. If the value is True, the button state is selected; if it is False, the button state is unselected. notify Indicates whether XmNvalueChangedCallback is ... |