Class _Dialog |
# This is the parent class of a dialog window.
Details |
Constructor |
win | The dialog's window.
|
is_open | Flag indicates whether window is open
|
owning_dialog | |
child_dialogs | |
focus | Component with current focus
|
unique_flag | Flag indicates whether in unique processing mode
|
re_process_flag | Flag indicates whether to distribute last
Icon event during unique mode
|
buffer_win | Buffer window for double buffering
|
min_width | Minimum size of window.
|
min_height | |
click_count | Variables controlling multiple clicks
|
double_click_delay | |
repeat_delay | Repeat event delays
|
repeat_rate | |
prev_x | |
prev_y | |
prev_time | |
prev_event | |
is_blocked_flag | |
resize_attrib |
Methods: |
# Clear the keyboard focus.
# This empty method may be overridden to add components to the dialog. Alternatively, components may be added in the dialog's {initially} method.
# This method must be over-ridden in the subclass. It is the method which is invoked when an event occurs. @param e The instance of the {_Event} class to be processed.
Display all components
# This empty method may be overridden. It is invoked just before the dialog window is closed.
# Returns the number of mouse clicks that have occurred consecutively, with each click in the sequence being less than {double_click_delay} milliseconds apart. That variable is by default 500 milliseconds, but it may be configured with {set_double_click_delay().}
# Returns the Icon window associated with the dialog.
# Set the delay in milliseconds between double clicks. The default is 500 milliseconds
# Sets keyboard focus to the given component. This method should only be invoked after the dialog has been displayed. To give a component the initial keyboard focus, invoke this method from within {init_dialog()}
# Sets the minimum dimensions for a window. The user will not be able to resize the window below this size.
# Set the delay in milliseconds between an initial repeating event and the start of repeat events. The default is 500 milliseconds
# Set the delay in milliseconds between repeating events. The default is 100 milliseconds
# This is a variation on the conventional modal and modeless methods. The dialog is opened, input to other windows is not blocked, but the call does not return until the window is closed. @param d The parent dialog, if specified, is blocked until @ the window is closed.
# Displays the dialog as a modal dialog. In other words, window events to any other open dialogs are blocked until the dialog is closed. This method doesn't return until the dialog is closed. @param d The parent dialog. It will not normally be @ needed.
# Displays the dialog as a modeless dialog. This means that window events are processed by this dialog and other open dialogs concurrently. The call to {show_modeless()} opens the dialog and returns immediately. @param d This optional parameter specifies the parent dialog. @ When a parent dialog is closed, its child dialogs are automatically closed.
Fields: |