Concept Framework 1.0 documentation Contents | Index

OptionDialog

Name Version Deprecated
OptionDialog version 1.0 no

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

Inherits : RForm  

Description:
A dialog similar to a message box, that allows the user to chose from a number of choices. Choices are set by the Options property.


Properties:
Editable Sets or checks if an option dialog have an editable field for the user to type in
Image Provides access to the dialog's RImage
Message Sets or gets the message contained by the dialog
Options Sets or gets the array of options for the dialog
Text Sets or gets the text for the Editable field in the dialog (if any)

Methods:
OptionDialog This is the standard contructor for this class and should not be used directly

Events:
OnOption Event fired when the user clicks one of the option buttons

Inherited from RForm:

Inherited properties from RForm
BorderWidth This property sets the width of the window border, in pixels
Caption The caption of a window will be displayed in its title bar; on the X Window System, the title bar is rendered by the window manager, so exactly how the caption appears to users may vary according to a user's exact configuration
Decorations This property controls how a window is decorated
DefaultControl This property sets the default control to receive input focus when the user presses enter
Fixed This property applies to container controls
FullScreen If this property is set, the entire canvas of a form will be shown on to the entire screen (only the canvas, the title bar and border will be not visible)
Height This property gets or sets the height (in pixels) of a window
Icon This property sets an RImage as the icon for the window (RForm)
KeepAbove Asks to keep RForm above (if set to true), so that it stays on top
KeepBelow Asks to keep RForm below (if set to true), so that it stays on bottom
Maximized Maximizes a RForm
Minimized Minimizes a RForm
Modal Sets a form modal or non-modal
Position Sets the initial default position for a RFrom (window)
Resizable Sets whether the user can resize a RForm
SkipPager RForms may set this property to true asking the desktop environment not to display the window in the pager
Titlebar Is set to true, the window (RForm) will have a title bar
Type By setting the type hint for the RForm(window), you allow the window manager to decorate and handle the window in a way which is suitable to the function of the window in your application
Urgent RForms may set a hint asking the desktop environment to draw the users attention to the window
Width This property gets or sets the width (in pixels) of a window

Inherited methods from RForm
Maximize This function maximizes a RForm(window)
Minimize This function minimizes a RForm(window)
RForm This is the constructor for RForm
Raise Raises a window
Restore This function restores a window that had previously been maximized or minimized

Inherited events from RForm
OnFrameEvent Called whenever the window receives an event targeted at the frame
OnSetFocus Called when the focus control for the window changes

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:21 2007 GMT(c)2007 RadGs Software