Concept Framework 1.0 documentation Contents | Index

RTextView

Name Version Deprecated
RTextView version 1.0 no

Defined in : RTextView.con
(this file must be included in your application in order to have access, unless you use a child class of RTextView that includes this file)

Inherits : RemoteContainer  

Description:
Multi-line text editing control. This control allows formatting by using the CreateStyle function that creates a new RTextTag. This control is known on MS Windows as a Memo control.


Properties:
AcceptTab Sets or checks whether the view will accept the Tab key
CursorVisible Sets or checks whether the cursor is visible
Indent Sets or gets the amount to indent the paragraph
Justify Sets or gets the justification used by the text in the view
LeftMargin Sets or gets the width of the left margin, in pixels
Overwrite Sets or gets the overwrite mode of the view
PixelsAbove Sets or gets the number of pixels of blank space above paragraphs
PixelsBelow Sets or gets the number of pixels of blank space below paragraphs
PixelsInside Sets or gets the number of pixels of blank space between wrapped lines in a paragraph
ReadOnly Sets or checks whether the text view can be edited
RightMargin Sets or gets the width of the right margin, in pixels
SelectionLength Sets or gets the length of the current selection
SelectionStart Sets or gets the character index of the selection start
Text Sets or gets the text contained by the text view
Wrap Sets or gets the line wrapping for the view

Methods:
AddObject Adds an object to a text view
AddStyledText Adds text to a text view, linked to a style
AddText Adds text to a text view
CreateStyle Creates a new style represented by a RTextTag
GetStyle Gets the RTextTag object with which the style name is linked
InsertObject Inserts an object to a text view at the given position
InsertStyledText Inserts text to a text view at the given position, linked to a style
InsertText Inserts texts into the view at the given position
Print Opens a print dialog, for the user to select the print options, and prints the contents of the text view
RTextView This is the standard contructor for this class and should not be used directly

Events:
OnInsertAtCursor Emitted when text is inserted at the cursor position
OnPopulatePopup Event fired when the associated popup is populated
OnSetAnchor Happens when a new anchor is set
OnSetScrollAdjustments Event fired when the scroll adjustments are set (see RScrolledWindow or RViewPort)

Inherited from RemoteContainer:

Inherited properties from RemoteContainer
Childs An array containing the children of an RemoteContainer-derived object

Inherited methods from RemoteContainer
Add This member adds a child to the container

Inherited from VisibleRemoteObject:

Inherited properties from VisibleRemoteObject
BgColor This property sets or gets the background color of a control
DragData This is the data received by the control on which this control is dropped OnDragDataReceived
Dragable When this property is set to true, a control can be dragged by the user (using the mouse)
DropSite When this property is set to true, a control can receive Dragable objects
Enabled When this property is set to true, a control can receive focus (is enabled)
FgColor This property sets or gets the foreground color of a control
Font Allows to modify the font used by a control via the RFont class
Height This property gets the height (in pixels) of a control
InactiveBgColor This property sets or gets the background color of an inactive object
InactiveFgColor This property sets or gets the foreground color of an inactive object
Left This property gets the number of pixels from the left margin of this control to the left margin of its parent
MinHeight This property gets or sets the minimum height(in pixels) for a control
MinWidth This property gets or sets the minimum width for a control
MouseCursor This property sets or gets the mouse cursor image using a stock image
MouseCursorImage This property sets the image used by the mouse cursor from a RImage object
PackType This property sets or gets the type of the packing used for the next child of this control
Packing This property sets or gets the type of the packing for this control
PopupMenu This property gets or sets the popup menu used for this control (the menu that appears when the mouse is right clicked)
SelectedBgColor This property sets or gets the background color of a selected control
SelectedFgColor This property sets or gets the foreground color of a selected control
Tooltip This property sets or gets the tool tip for a visible object
Top This property gets the number of pixels from the top margin of this control to the top margin of its parent
UserData This is a property that encapsulates custom data that needs to be attached to a control
Visible A Boolean value specifying whether the button is visible
Width This property gets the width (in pixels) of a control

Inherited methods from VisibleRemoteObject
ConfirmDelete This function is used to confirm the Delete event in an OnDelete event that needs confirmation
ConfirmEvent Some events require confirmation
DisposeObject This function tells the client that a control is no longer needed and can be deleted
GrabFocus This function marks the control as focused
Hide This function hides this control by setting the Visible property to false
Send Sends a message to the client
Show This function shows this control by setting the Visible property to true

Inherited events from VisibleRemoteObject
OnButtonPress Event triggered by user pressing button
OnButtonRelease Event triggered by user releasing button
OnChildNotify This event is fired for each child property that has changed on an object
OnConfigure Event triggered by a window resizing
OnDelete Event triggered by window begin closed
OnDirectionChanged Informs objects that their text direction has been changed (if the control contains text)
OnDragBegin This event is fired on the drag source when a drag is started
OnDragDataDelete This event is fired on the drag source when a drag with the move action is successfully completed
OnDragDataGet This event is fired on the drag source when the drop site requests the data which is dragged
OnDragDataReceived This event is fired on the drop site when the dragged data has been received
OnDragDrop The event is fired on the drop site when the user drops the data onto the control
OnDragEnd This event is fired on the drag source when a drag is finished
OnDragLeave This event is fired on the drop site when the cursor leaves the control
OnDragMotion The event is fired on the drop site when the user moves the cursor over the control during a drag
OnEnterNotify Generated when the pointer enters a window
OnEvent This event is fired when another event is fired
OnExposeEvent Event triggered by window requiring a refresh
OnFocus This event is fired when this control receives focus(check GTK documentation for more information)
OnFocusIn This event is fired when this control receives focus(check GTK documentation for more information)
OnFocusOut This event is fired when this control looses its focus(check GTK documentation for more information)
OnGrabFocus This event is fired when this control grabs focus
OnGrabNotify Event fired when a control is grabbed(check GTK for more information)
OnHide Event triggered when the control is hidden
OnHierarchyChanged Informs objects that their top level control has been changed
OnKeyPress This event is fired whenever the Sender control picks up a key pressed signal
OnKeyRelease This event is fired whenever the user releases a key
OnLeaveNotify Generated when the pointer leaves a window
OnMap Event triggered when the control is mapped (please check GTK documentation for more information)
OnMapEvent Event triggered when the control is raising a map_event signal (please check GTK documentation for more information)
OnMnemonicActivate Event fired when a mnemonic is activated(check GTK for more information)
OnMotionNotify Event triggered by user moving pointer
OnNoExpose Event triggered by window requiring a refresh
OnParentChanged This event is fired when the control's parent is changed
OnProperty Event triggered when a property of the control is changed(please check GTK documentation for more information)
OnProximityIn Proximity events are generated when using GDK's wrapper for the XInput extension
OnProximityOut Proximity events are generated when using GDK's wrapper for the XInput extension
OnRealize Event triggered when the control is realized (please check GTK documentation for more information)
OnScreenChanged This event is fired when the screen is changed(check GTK documentation for more information)
OnScroll Generated from button presses for the buttons 4 to 7
OnSelectionClear Generated when a selection is requested or ownership of a selection is taken over by another client application
OnSelectionGet The "selection-get" event is fired when the selection data is requested from control(see gtk documentation for more information)
OnSelectionNotify Generated when a selection is requested or ownership of a selection is taken over by another client application
OnSelectionReceived This event is fired when the selection data is received from control(see gtk documentation for more information)
OnSelectionRequest Generated when a selection is requested or ownership of a selection is taken over by another client application
OnShow Event triggered when the control is shown
OnSizeAllocate Event triggered after the control is resized (please check GTK documentation for more information)
OnSizeRequest Event triggered before the control is resized (please check GTK documentation for more information)
OnStateChanged Event triggered when the control's state is changed(please check GTK documentation for more information)
OnStyleChanged Informs objects that their style has been changed
OnUnmap Event triggered when the control is mapped (please check GTK documentation for more information)
OnUnmapEvent Event triggered when the control is raising a unmap_event signal (please check GTK documentation for more information)
OnUnrealize Event triggered when the control is unrealized (please check GTK documentation for more information)
OnVisibility This event is fired whenever the Sender control visibility is changed
OnWindowState This event is generated when the state of a toplevel window changes

Inherited from RemoteObject:

Inherited properties from RemoteObject
Parent This function returns the Parent for a specific Concept GUI Object
RID The RID (Remote ID) for an object

Inherited methods from RemoteObject
AddTimer This function sets up a timer
GetObjectByID This function finds the object corresponding to the ID parameter
LinkIfNotLinked This is a special function, wich should be used after a GUI object was created that has no parent
Repaint This member tells to the remote control to repaint itself(Queue for redraw)




Valid HTML 4.0 Transitional Valid CSS!

Documented by Eduard Suica, generation time: Mon Oct 01 08:02:17 2007 GMT(c)2007 RadGs Software