| Library | File | Frames | Expand |
| void | InsertItem | (uifcOptionMenuItem_ptr optionmenuitem, uifcItemPositionData_ptr item_pos_data) |
|
| uifcPoint_ptr | GetFrameOrigin | () |
|
Determine the position of the component, in pixels, relative to its parent.
|
| void | DeleteGroupsByName | (xstringsequence_ptr names) |
|
Delete groups from the component.
|
| xint | GetCaretPosition | () |
|
Get the caret position.
|
| void | OpenPopup | () |
|
Display the drop-down List of the OptionMenu.
|
| void | InputBackspaceKeys | (xint count) |
|
Execute a number of BACKSPACE key presses in the component.
|
| void | ReplaceSelectionWithText | (xint start, xint end, xrstring text) |
|
Replace the text between the start and end caret positions with the given text.
|
| void | InsertTextIntoSelection | (xrstring text) |
|
Insert the given text at the current caret position, replacing any selected text.
|
| xint | GetLineLength | (xint line) |
|
Get the length of the given line, i.e. the number of characters in it.
|
| void | MoveItemsByName | (xrstring name, xstringsequence_ptr names) |
|
Reorders the items of the component so that the given array of items are placed in the given order (implied by the order of names in the array) immediately after the named item. When the items are reordered any item-related data is also reordered, i.e. the labels, help-texts, states, foreground and background colors, etc.
|
| void | SelectAll | () |
|
Select all the text of the TextArea. The use of this operation has been superceded by SelectedRange operation is provided for backwards compatibility only.
|
| xint | InsertPopupMenu | (uifcComponent_ptr component) |
|
Add a MenuPane to be displayed when the user presses the right mouse button over the component.
|
| void | UndoLastChange | () |
|
Undo the last change applied to the text.
|
| void | InsertGroup | (uifcOptionMenuGroup_ptr optionmenugroup, uifcItemPositionData_ptr item_pos_data) |
|
| void | MoveItemsByIndex | (xint item, xintsequence_ptr items) |
|
Reorders the items of the component so that the given array of items are placed in the given order (implied by the order of names in the array) immediately after the named item indices. When the items are reordered any item-related data is also reordered, i.e. the labels, help-texts, states, foreground and background colors, etc.
|
| void | SetSelectedRange | (uifcPoint_ptr value) |
|
Select the text between the start and end caret positions. Note: If start < 0 then the selection is removed, forcing the selection anchor to move to the caret position. If end < 0, the entire text is selected from the start position onwards.
|
| void | PasteClipboardToSelection | () |
|
Replace the selected text with the contents of the system clipboard.
|
| uifcDimension_ptr | GetFrameSize | () |
|
Determine the size of the component, in pixels.
|
| void | DeletePopupMenu | () |
|
Delete a MenuPane from the component.
|
| uifcPoint_ptr | GetScreenOrigin | () |
|
Determine the screen position of the component, in pixels.
|
| void | SetFrameOrigin | (uifcPoint_ptr value) |
|
Set the screen position of the component, in pixels, relative to its parent. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
|
| void | CopySelectionToClipboard | () |
|
Copy the selected text into the system clipboard.
|
| void | CutSelectionToClipboard | () |
|
Copy the selected text into the system clipboard and then delete the selected text.
|
| void | SetFrameSize | (uifcDimension_ptr value) |
|
Set the size of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
|
| void | InputDeleteKeys | (xint count) |
|
Execute a number of DELETE key presses in the component.
|
| void | SetCaretPosition | (xint position) |
|
Set the caret and the selection anchor positions.
|
| void | InsertItems | (uifcOptionMenuItems_ptr optionmenuitems, uifcItemPositionData_ptr posData) |
|
| uifcRectangle_ptr | GetFrameRectangle | () |
|
Determine the size and position of the component, in pixels.
|
| void | DeleteItemsByName | (xstringsequence_ptr names) |
|
Delete items from the component.
|
| void | DeleteItemsByIndex | (xintsequence_ptr items) |
|
Delete items from the component using item indices.
|
| uifcPoint_ptr | GetSelectedRange | () |
|
Get the caret positions of the start and the end of the selected text.
|
| uifcDimension_ptr | GetFrameMinimumSize | () |
|
Determine the minimum size of the component, in pixels.
|
| uifcRectangle_ptr | GetScreenRectangle | () |
|
Determine the size and screen position of the component, in pixels.
|
| void | SetFrameRectangle | (uifcRectangle_ptr rect) |
|
Set the size and screen position of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
|
| void | RedoLastUndo | () |
|
Repeat the last change which was undone.
|
| xstring | GetSelectedText | () |
|
Get the selected text of the component.
|
| uifcRectangle_ptr | GetRectangleOfMonitor | () |
|
Determine the rectangle of the screen upon which the majority of the given component is displayed.
|
| xreal | GetMaximumDoubleValue | () |
|
| void | SetMaximumDoubleValue | (xreal value) |
|
Sets the maximum double value of the contents of the OptionMenu.
|
| xint | GetWidth | () |
|
| void | SetWidth | (xint value) |
|
Sets the width of the OptionMenu, in character widths.
|
| xstringsequence_ptr | GetSelectedItemNameArray | () |
|
| void | SetSelectedItemNameArray | (xstringsequence_ptr values) |
|
Sets the names of the selected items of the component.
|
| xint | GetMinimumWidth | () |
|
| void | SetMinimumWidth | (xint value) |
|
Sets the minimum width of the OptionMenu, in character widths.
|
| xreal | GetDoubleValue | () |
|
| void | SetDoubleValue | (xreal value) |
|
Sets the double value of the contents of the OptionMenu.
|
| xstringsequence_ptr | GetGroupItemNameArray | () |
|
| void | SetGroupItemNameArray | (xstringsequence_ptr values) |
|
Sets the names of the first item of each of the groups of the OptionMenu.
|
| xstringsequence_ptr | GetGroupNameArray | () |
|
| void | SetGroupNameArray | (xstringsequence_ptr values) |
|
Sets the names of the group headers of the OptionMenu.
|
| xbool | CanDrawContentDisabled | () |
|
| void | SetCanDrawContentDisabled | (xbool flag) |
|
Sets flag indicating whether the images embedded in the label of an item of the OptionMenu should be greyed-out whenever the item is insensitive.
|
| xstring | GetDefaultHelpText | () |
|
| void | SetDefaultHelpText | (xrstring value) |
|
Sets the popup help-text to be displayed whilst the pointer is over the OptionMenu but is not over any of the items of the drop-down list.
|
| xbool | IsComboBox | () |
|
| void | SetComboBox | (xbool flag) |
|
Sets flag indicating whether the text contents of the OptionMenu may be modified by the user.
|
| xint | GetDropDownHeight | () |
|
| void | SetDropDownHeight | (xint value) |
|
Sets the number of visible rows of the drop-down list of the OptionMenu.
|
| xbool | HasTextChanged | () |
|
| void | SetHasTextChanged | (xbool flag) |
|
Sets flag indicating whether the text contents of the OptionMenu have been modified. The OptionMenu sets the value of this attribute to xfalse when the entire text is modified programmatically. The value is then automatically set to xtrue when the text is next changed. This flag is provided for application use so that any "save if needed" functionality can be implemented for text editors. In this case the value should be set to xfalse once the text has been saved.
|
| xstring | GetStringValue | () |
|
| void | SetStringValue | (xrstring value) |
|
Sets the contents of the OptionMenu as a string.
|
| xintsequence_ptr | GetGroupOpenArray | () |
|
| void | SetGroupOpenArray | (xintsequence_ptr values) |
|
Sets the expanded / collapsed state of each of the group headers of the OptionMenu.
|
| xstring | GetImage | () |
|
| void | SetImage | (xrstring value) |
|
Sets the image to be displayed to the left of the value of an editable OptionMenu
|
| xint | GetMaximumIntegerValue | () |
|
| void | SetMaximumIntegerValue | (xint value) |
|
Sets the maximum integer value of the contents of the OptionMenu.
|
| xbool | DoesSizeByContents | () |
|
| void | SetSizeByContents | (xbool flag) |
|
Sets flag indicating whether the OptionMenu should be sized according to its contents (xtrue) or whether it should use its Width attribute.
|
| xbool | IsWidthFixed | () |
|
| void | SetWidthFixed | (xbool flag) |
|
Sets flag indicating whether the OptionMenu should increase its width to accomodate its contents (xfalse) or whether it should maintain its width as the contents grow (xtrue).
|
| xstringsequence_ptr | GetStringValueArray | () |
|
| void | SetStringValueArray | (xstringsequence_ptr values) |
|
Sets the string items of the component.
|
| xrealsequence_ptr | GetDoubleValueArray | () |
|
| void | SetDoubleValueArray | (xrealsequence_ptr values) |
|
Sets the double items of the component.
|
| xint | GetIntegerValue | () |
|
| void | SetIntegerValue | (xint value) |
|
Sets the integer value of the contents of the OptionMenu.
|
| uifcColors_ptr | GetItemTextColorArray | () |
|
| void | SetItemTextColorArray | (uifcColors_ptr colors) |
|
Sets the foreground colors of the items of the component, as a uifcColor.
|
| xint | GetMinimumIntegerValue | () |
|
| void | SetMinimumIntegerValue | (xint value) |
|
Sets the minimum integer value of the contents of the OptionMenu.
|
| xstring | GetDropItemName | () |
|
| xstringsequence_ptr | GetItemImageArray | () |
|
| void | SetItemImageArray | (xstringsequence_ptr values) |
|
Sets the images of the items of the component. Each image may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
|
| uifcInputType | GetValueType | () |
|
| void | SetValueType | (uifcInputType value) |
|
Sets the data-type of the contents of the OptionMenu.
|
| uifcReadingOrder | GetReadingOrder | () |
|
| void | SetReadingOrder | (uifcReadingOrder value) |
|
Sets if the current locale supports multi-directional text (e.g. Hebrew) then this flag indicates the reading order of the text contents of the InputPanel, otherwise the attribute value is ignored.
|
| xbool | DoesAlwaysShowValueSign | () |
|
| void | SetAlwaysShowValueSign | (xbool flag) |
|
Sets flag indicating whether to display the signum of numerical values in the OptionMenu.
|
| xstringsequence_ptr | GetItemHelpTextArray | () |
|
| void | SetItemHelpTextArray | (xstringsequence_ptr values) |
|
Sets the popup help-text to be displayed for the items of the component whilst the pointer is over the component.
|
| xint | GetAutoCompleteLength | () |
|
| void | SetAutoCompleteLength | (xint value) |
|
Sets the minimum number of characters which must match before any text matching is carried out.
|
| xint | GetDigits | () |
|
| void | SetDigits | (xint value) |
|
Sets the number of digits to be displayed if the contents are being treated as a number. A value of 0 indicates that this attribute should be ignored when formatting the value.
|
| xstring | GetDoubleFormat | () |
|
| void | SetDoubleFormat | (xrstring value) |
|
Sets the format of the contents of the OptionMenu if they are being treated as a double. The value of this attribute is a C formatting string which can handle the precision and value of the contents of the OptionMenu.
|
| xint | GetImageWidth | () |
|
| void | SetImageWidth | (xint value) |
|
Sets the width of the images of the OptionMenu, in pixels
|
| uifcColors_ptr | GetItemBackgroundColorArray | () |
|
| void | SetItemBackgroundColorArray | (uifcColors_ptr colors) |
|
Sets the background colors of the items of the component, as a uifcColor.
|
| xbool | IsCaretVisible | () |
|
| void | SetCaretVisible | (xbool flag) |
|
Sets flag indicating whether the input caret should be displayed when the OptionMenu has the keyboard input focus.
|
| xbool | CanTruncateText | () |
|
| void | SetCanTruncateText | (xbool flag) |
|
Sets flag indicating whether any leading spaces of the label of the selected item of the OptionMenu should be ignored when displaying the selection in the top-line of the component.
|
| xbool | DoesAutoOpen | () |
|
| void | SetAutoOpen | (xbool flag) |
|
Sets flag indicating whether the OptionMenu should open automatically when the arrow button is pressed.
|
| xint | GetMaximumWidth | () |
|
| void | SetMaximumWidth | (xint value) |
|
Sets the maximum width of the drop-down of the OptionMenu, in character widths. A value of 0 indicates that the drop-down should size itself based upon the OptionMenu.
|
| xstringsequence_ptr | GetItemNameArray | () |
|
| void | SetItemNameArray | (xstringsequence_ptr values) |
|
Sets the names of the items of the component.
|
| xint | GetTextValueMaximumLength | () |
|
| void | SetTextValueMaximumLength | (xint value) |
|
Sets the maximum length of the text contents of the OptionMenu.
|
| xint | GetImageHeight | () |
|
| void | SetImageHeight | (xint value) |
|
Sets the height of the images of the OptionMenu, in pixels
|
| xbool | IsSelectionVisible | () |
|
| void | SetSelectionVisible | (xbool flag) |
|
Sets flag indicating whether the selected text should be drawn highlighted when the OptionMenu does not have the keyboard input focus.
|
| xbool | CanResizeWhenNeeded | () |
|
| void | SetCanResizeWhenNeeded | (xbool flag) |
|
Sets flag indicating whether the OptionMenu should attempt to resize when its contents are changed.
|
| xstringsequence_ptr | GetEnabledItemNameArray | () |
|
| void | SetEnabledItemNameArray | (xstringsequence_ptr values) |
|
Sets the names of the selectable items of the component. An empty array indicates that every item of the component may be selected.
|
| xbool | CanRedraw | () |
|
| void | SetCanRedraw | (xbool flag) |
|
Sets flag indicating whether redraws are permitted in the OptionMenu.
|
| xstringsequence_ptr | GetGroupHelpTextArray | () |
|
| void | SetGroupHelpTextArray | (xstringsequence_ptr values) |
|
Sets the popup help-text to be displayed for the group headers of the OptionMenu whilst the pointer is over the component.
|
| xstring | GetMostRecentItemName | () |
|
| xbool | DoesOpenOnMnemonic | () |
|
| void | SetOpenOnMnemonic | (xbool flag) |
|
Sets flag indicating whether the OptionMenu should open automatically when the menu is opened via a mnemonic.
|
| xstring | GetPrompt | () |
|
| void | SetPrompt | (xrstring value) |
|
Sets the text to be displayed in the OptionMenu when the component does not have the focus and its contents are empty.
|
| xreal | GetMinimumDoubleValue | () |
|
| void | SetMinimumDoubleValue | (xreal value) |
|
Sets the minimum double value of the contents of the OptionMenu.
|
| xstringsequence_ptr | GetGroupTextArray | () |
|
| void | SetGroupTextArray | (xstringsequence_ptr values) |
|
Sets the labels of the group headers of the OptionMenu.
|
| xstringsequence_ptr | GetItemTextArray | () |
|
| void | SetItemTextArray | (xstringsequence_ptr values) |
|
Sets the labels of the items of the component.
|
| xbool | IsAutoCompleteCaseSensitive | () |
|
| void | SetAutoCompleteCaseSensitive | (xbool flag) |
|
Sets flag indicating whether text matching is case-sensitive (xtrue) or whether it is irrespective of case (xfalse).
|
| xint | GetTextGravity | () |
|
| void | SetTextGravity | (xint value) |
|
Sets the gravity of the OptionMenu, which is used to determine where the caret should be placed after the contents are modified.
|
| xstringsequence_ptr | GetGroupImageArray | () |
|
| void | SetGroupImageArray | (xstringsequence_ptr values) |
|
Sets the images of the group headers of the OptionMenu. Each image may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
|
| xbool | HasBorder | () |
|
| void | SetHasBorder | (xbool flag) |
|
Sets flag indicating whether the OptionMenu has a decorated shadow border.
|
| xintsequence_ptr | GetIntegerValueArray | () |
|
| void | SetIntegerValueArray | (xintsequence_ptr values) |
|
Sets the integer items of the component.
|
| xbool | DoesAutoCompleteReplace | () |
|
| void | SetAutoCompleteReplace | (xbool flag) |
|
Sets flag indicating whether any matched text should be completely selected when a match occurs (xtrue) or whether only the appended text should be selected (xfalse).
|
| xstring | GetTextValue | () |
|
| void | SetTextValue | (xrstring value) |
|
Sets the text contents of the OptionMenu if the OptionMenu is editable.
|
| void | AddActionListener | (uifcOptionMenuListener_ptr listener) |
|
| void | PushAction | (uifcOptionMenuAction action) |
|
| void | CreateTimer | (uifcOptionMenuTimer_ptr timer, xrstring timerName, xbool writeInTrail) |
|
| void | StartTimer | (xrstring timerName, xint duration) |
|
| void | StopTimer | (xrstring timerName) |
|