| Library | File | Frames | Expand |
| uifcPoint_ptr | GetFrameOrigin | () |
|
Determine the position of the component, in pixels, relative to its parent.
|
| xint | GetLineOffset | (xint line) |
|
Get the offset of the given line within the text, i.e. get the caret position which represents the start of the given line.
|
| xint | GetCaretPosition | () |
|
Get the caret position.
|
| 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.
|
| 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 | 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 | ReplaceLineWithText | (xint line, xrstring text) |
|
Replaces the text of the given line with the given text.
|
| 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.
|
| 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.
|
| uifcPoint_ptr | GetScreenOrigin | () |
|
Determine the screen position of the component, in pixels.
|
| 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.
|
| uifcRectangle_ptr | GetFrameRectangle | () |
|
Determine the size and position of the component, in pixels.
|
| xint | GetLineCount | () |
|
Get the number of lines of text in the TextArea.
|
| void | SetCaretPosition | (xint position) |
|
Set the caret and the selection anchor positions.
|
| 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
|
| 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.
|
| xstring | GetLineText | (xint line) |
|
Returns a copy of the text of the given line. This must be freed with relmem after use.
|
| 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.
|
| xbool | DoesActivateOnReturn | () |
|
| void | SetActivateOnReturn | (xbool flag) |
|
Sets flag indicating whether a RETURN key press should generate a OnActivate() callback (xtrue) or whether it should cause the default button in the Dialog to be pressed (xfalse).
|
| xint | GetMinimumWidth | () |
|
| void | SetMinimumWidth | (xint value) |
|
Sets the minimum width of the TextArea, in character widths.
|
| xstring | GetPrompt | () |
|
| void | SetPrompt | (xrstring value) |
|
Sets the text to be displayed in the TextArea when the component does not have the focus and its contents are empty.
|
| xbool | HasBorder | () |
|
| void | SetHasBorder | (xbool flag) |
|
Sets flag indicating whether the TextArea has a decorated shadow border.
|
| xint | GetMinimumHeight | () |
|
| void | SetMinimumHeight | (xint value) |
|
Sets the minimum number of rows of the TextArea.
|
| xbool | DoesAllowReturnInput | () |
|
| void | SetAllowReturnInput | (xbool flag) |
|
Sets flag indicating whether to allow RETURN key presses to be ignored by the TextArea itself and instead passed to the application via a OnKeyDown() callback (xfalse) or whether they should be inserted into the text as a new-line character (xtrue).
|
| xbool | CanDrawContentDisabled | () |
|
| void | SetCanDrawContentDisabled | (xbool flag) |
|
Sets flag indicating whether the images embedded in the text contents of the TextArea should be greyed-out whenever the TextArea is insensitive.
|
| xbool | IsHeightFixed | () |
|
| void | SetHeightFixed | (xbool flag) |
|
Sets flag indicating whether the TextArea should increase its height to accomodate its contents (xfalse) or whether it should maintain its height as the contents grow (xtrue).
|
| xbool | HasTextChanged | () |
|
| void | SetHasTextChanged | (xbool flag) |
|
Sets flag indicating whether the text contents of the TextArea have been modified. The TextArea 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 text contents of the TextArea as a string.
|
| xbool | HasScrollBarsWhenNeeded | () |
|
| void | SetHasScrollBarsWhenNeeded | (xbool flag) |
|
Sets flag indicating whether scrollbars should only be displayed when they are required (xtrue) or whether they should always be displayed (xfalse).
|
| uifcKey_ptr | GetKeyPressed | () |
|
| void | SetKeyPressed | (uifcKey_ptr key) |
|
Sets the key whih was inserted via InputKey operation. The TextArea indicates that the key should not be passed on to, for example, the mapkey buffer by setting this attribute to KEY_NONE.
|
| xbool | DoesSizeByContents | () |
|
| void | SetSizeByContents | (xbool flag) |
|
Sets flag indicating whether the TextArea 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 TextArea should increase its width to accomodate its contents (xfalse) or whether it should maintain its width as the contents grow (xtrue).
|
| xbool | CanWrap | () |
|
| void | SetCanWrap | (xbool flag) |
|
Sets flag indicating whether the TextArea should automatically wrap its contents to the available width.
|
| xbool | DoesHighlightOnFocus | () |
|
| void | SetHighlightOnFocus | (xbool flag) |
|
Sets flag indicating whether the entire contents of the TextArea should be selected whenever the TextArea receives the keyboard input focus.
|
| xbool | IsPassword | () |
|
| void | SetPassword | (xbool flag) |
|
Sets flag indicating whether the component is used for password entry.
|
| 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 TextArea, otherwise the attribute value is ignored.
|
| xint | GetUndoBufferSize | () |
|
| void | SetUndoBufferSize | (xint value) |
|
Sets the size in bytes of the undo buffer of the TextArea.
|
| xint | GetAutoCompleteLength | () |
|
| void | SetAutoCompleteLength | (xint value) |
|
Sets the minimum number of characters which must match before any text matching is carried out.
|
| xbool | IsCaretVisible | () |
|
| void | SetCaretVisible | (xbool flag) |
|
Sets flag indicating whether the input caret should be displayed when the TextArea has the keyboard input focus.
|
| uifcScrollBarPosition | GetScrollBarPosition | () |
|
| void | SetScrollBarPosition | (uifcScrollBarPosition value) |
|
Sets the position of the scrollbars of the component.
|
| xint | GetMaximumWidth | () |
|
| void | SetMaximumWidth | (xint value) |
|
Sets the maximum width of the TextArea, in character widths. When SizeByContents attribute is xtrue, this value limits the width of the TextArea, with a value of 0 indicating that the TextArea should indeed size itself based upon its contents.
|
| xint | GetTextValueMaximumLength | () |
|
| void | SetTextValueMaximumLength | (xint value) |
|
Sets the maximum length of the text contents of the TextArea.
|
| xbool | IsSelectionVisible | () |
|
| void | SetSelectionVisible | (xbool flag) |
|
Sets flag indicating whether the selected text should be drawn highlighted when the TextArea does not have the keyboard input focus.
|
| xbool | CanRedraw | () |
|
| void | SetCanRedraw | (xbool flag) |
|
Sets flag indicating whether redraws are permitted in the TextArea.
|
| xstringsequence_ptr | GetAutoCompleteTextArray | () |
|
| void | SetAutoCompleteTextArray | (xstringsequence_ptr values) |
|
Sets the array of values to use for text matching in the TextArea.
|
| xint | GetHeight | () |
|
| void | SetHeight | (xint value) |
|
Sets the number of rows of the TextArea.
|
| xint | GetPasswordCharacter | () |
|
| void | SetPasswordCharacter | (xint value) |
|
Sets the ASCII value of the character used for display when the TextArea is being used for password entry.
|
| xbool | IsAutoCompleteCaseSensitive | () |
|
| void | SetAutoCompleteCaseSensitive | (xbool flag) |
|
Sets flag indicating whether text matching is case-sensitive (xtrue) or whether it is irrespective of case (xfalse).
|
| uifcTextGravity | GetTextGravity | () |
|
| void | SetTextGravity | (uifcTextGravity value) |
|
Sets the gravity of the TextArea, which is used to determine where the caret should be placed after the contents are modified.
|
| xbool | DoesAllowTabInput | () |
|
| void | SetAllowTabInput | (xbool flag) |
|
Sets flag indicating whether to allow TAB key presses to be ignored by the TextArea itself and used for focus traversal (xfalse) or whether they should be inserted into the text as a tab character (xtrue).
|
| xstring | GetWideStringValue | () |
|
| void | SetWideStringValue | (xrstring value) |
|
Sets the text contents of the TextArea as a wide-string.
|
| 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 TextArea.
|
| xbool | IsReadOnly | () |
|
| void | SetReadOnly | (xbool flag) |
|
| void | AddActionListener | (uifcTextAreaListener_ptr listener) |
|
| void | PushAction | (uifcTextAreaAction action) |
|
| void | CreateTimer | (uifcTextAreaTimer_ptr timer, xrstring timerName, xbool writeInTrail) |
|
| void | StartTimer | (xrstring timerName, xint duration) |
|
| void | StopTimer | (xrstring timerName) |
|