indexing
description: "Window intended for transient user interaction.%NOptionally modal. A modal dialog blocks the rest of the applicationuntil closed."
legal: "See notice at end of class."
status: "See notice at end of class."
keywords: "dialog, dialogue, popup, window"
date: "$Date: 2007-05-04 13:44:00 -0700 (Fri, 04 May 2007) $"
revision: "$Revision: 68130 $"
class interface
EV_DIALOG
create
default_create
EV_ANY
require ANY
True
ensure then EV_ANY
is_coupled: implementation /= Void
is_initialized: is_initialized
default_create_called: default_create_called
is_in_default_state: is_in_default_state
make_with_title (a_title: STRING_GENERAL)
`a_title'
EV_WINDOW
require EV_WINDOW
a_title_not_void: a_title /= Void
feature
accelerators: EV_ACCELERATOR_LIST
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
bridge_ok: Result = implementation.accelerator_list
not_void: Result /= Void
accept_cursor: EV_POINTER_STYLE
`Result'
pebble
EV_PICK_AND_DROPABLE
require EV_ABSTRACT_PICK_AND_DROPABLE
True
ensure EV_ABSTRACT_PICK_AND_DROPABLE
result_not_void: Result /= Void
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.accept_cursor
actual_drop_target_agent: FUNCTION [ANY, TUPLE [INTEGER_32, INTEGER_32], EV_ABSTRACT_PICK_AND_DROPABLE]
`Void'`Current'
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
bridge_ok: Result = implementation.actual_drop_target_agent
background_color: EV_COLOR
EV_COLORIZABLE
require EV_COLORIZABLE
not_destroyed: not is_destroyed
ensure EV_COLORIZABLE
bridge_ok: Result.is_equal (implementation.background_color)
background_pixmap: EV_PIXMAP
`Result'`Current'
`Current'
EV_CONTAINER
require EV_PIXMAPABLE
not_destroyed: not is_destroyed
ensure EV_PIXMAPABLE
bridge_ok: (Result = Void and implementation.pixmap = Void) or Result.is_equal (implementation.pixmap)
blocking_window: EV_WINDOW
`Result'`Current'
is_modalis_relative
require
not_destroyed: not is_destroyed
ensure
bridge_ok: Result = implementation.blocking_window
configurable_target_menu_handler: PROCEDURE [ANY, TUPLE [menu: EV_MENU; target_list: ARRAYED_LIST [EV_PND_TARGET_DATA]; source: EV_PICK_AND_DROPABLE; source_pebble: ANY]]
`Current'
EV_PICK_AND_DROPABLE
data: ANY
EV_ANY
default_cancel_button: EV_BUTTON
require
not_destroyed: not is_destroyed
default_identifier_name: STRING_8
EV_IDENTIFIABLE
ensure EV_IDENTIFIABLE
result_not_void: Result /= Void
result_not_empty: not Result.is_empty
no_period_in_result: not Result.has ('.')
default_key_processing_handler: PREDICATE [ANY, TUPLE [EV_KEY]] assign set_default_key_processing_handler
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
bridge_ok: Result = implementation.default_key_processing_handler
default_push_button: EV_BUTTON
require
not_destroyed: not is_destroyed
deny_cursor: EV_POINTER_STYLE
`Result'
pebble
EV_PICK_AND_DROPABLE
require EV_ABSTRACT_PICK_AND_DROPABLE
True
ensure EV_ABSTRACT_PICK_AND_DROPABLE
result_not_void: Result /= Void
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.deny_cursor
foreground_color: EV_COLOR
EV_COLORIZABLE
require EV_COLORIZABLE
not_destroyed: not is_destroyed
ensure EV_COLORIZABLE
bridge_ok: Result.is_equal (implementation.foreground_color)
full_identifier_path: STRING_8
EV_IDENTIFIABLE
ensure EV_IDENTIFIABLE
result_not_void: Result /= Void
result_correct: parent = Void implies Result.is_equal (identifier_name)
result_correct: parent /= Void implies Result.is_equal (parent.full_identifier_path + "." + identifier_name)
generating_type: STRING_8
ANY
ensure ANY
generating_type_not_void: Result /= Void
generating_type_not_empty: not Result.is_empty
generator: STRING_8
ANY
ensure ANY
generator_not_void: Result /= Void
generator_not_empty: not Result.is_empty
has_recursive (an_item: like item): BOOLEAN
`an_item'
`an_item'
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
help_context: FUNCTION [ANY, TUPLE, EV_HELP_CONTEXT]
EV_HELP_CONTEXTABLE
require EV_HELP_CONTEXTABLE
not_destroyed: not is_destroyed
ensure EV_HELP_CONTEXTABLE
bridge_ok: Result = implementation.help_context
icon_name: STRING_32
is_emptytitle
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
ensure EV_TITLED_WINDOW
bridge_ok: equal (Result, implementation.icon_name)
result_not_void: Result /= Void
cloned: Result /= implementation.icon_name
icon_pixmap: EV_PIXMAP
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
ensure EV_TITLED_WINDOW
bridge_ok: Result.is_equal (implementation.icon_pixmap)
frozen id_object (an_id: INTEGER_32): ?IDENTIFIED
`an_id'
IDENTIFIED
ensure IDENTIFIED
consistent: Result = Void or else Result.object_id = an_id
identifier_name: STRING_8
default_identifier_name
EV_IDENTIFIABLE
ensure EV_IDENTIFIABLE
result_not_void: Result /= Void
result_not_empty: not Result.is_empty
no_period_in_result: not Result.has ('.')
default_name_available: not has_identifier_name_set implies Result.is_equal (default_identifier_name)
is_docking_enabled: BOOLEAN
`Current'
`Current'
EV_DOCKABLE_TARGET
require EV_DOCKABLE_TARGET
not_destroyed: not is_destroyed
ensure EV_DOCKABLE_TARGET
bridge_ok: Result = implementation.is_docking_enabled
is_modal: BOOLEAN
`Current'
`True'`Current'
require
not_destroyed: not is_destroyed
is_relative: BOOLEAN
`Current'
require
not_destroyed: not is_destroyed
item: EV_WIDGET
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
readable: readable
ensure EV_CONTAINER
bridge_ok: Result = implementation.item
lower_bar: EV_VERTICAL_BOX
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
bridge_ok: Result = implementation.lower_bar
maximum_dimension: INTEGER_32 is 32000
EV_WINDOW
maximum_height: INTEGER_32
height
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
bridge_ok: (Result = implementation.internal_maximum_height) or (Result = implementation.minimum_height)
maximum_width: INTEGER_32
width
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
bridge_ok: (Result = implementation.internal_maximum_width) or (Result = implementation.minimum_width)
menu_bar: EV_MENU_BAR
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
bridge_ok: Result = implementation.menu_bar
frozen object_id: INTEGER_32
IDENTIFIED
ensure IDENTIFIED
valid_id: Result > 0 implies id_object (Result) = Current
parent: EV_CONTAINER
`Current'
EV_WIDGET
require EV_IDENTIFIABLE
not_destroyed: not is_destroyed
ensure EV_IDENTIFIABLE
correct: has_parent implies Result /= Void
correct: not has_parent implies Result = Void
ensure then EV_WIDGET
bridge_ok: Result = implementation.parent
pebble: ANY
EV_PICK_AND_DROPABLE
require EV_ABSTRACT_PICK_AND_DROPABLE
True
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.pebble
pebble_function: FUNCTION [ANY, TUPLE, ANY]
EV_PICK_AND_DROPABLE
require EV_ABSTRACT_PICK_AND_DROPABLE
True
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.pebble_function
pebble_positioning_enabled: BOOLEAN
`True'
pebble_x_positionpebble_y_position
`False'
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.pebble_positioning_enabled
pebble_x_position: INTEGER_32
`Current'
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.pebble_x_position
pebble_y_position: INTEGER_32
`Current'
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.pebble_y_position
pointer_position: EV_COORDINATE
`Current'
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
is_show_requested: is_show_requested
pointer_style: EV_POINTER_STYLE
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
real_target: EV_DOCKABLE_TARGET
`Result'
`Current'
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
bridge_ok: Result = implementation.real_target
target_data_function: FUNCTION [ANY, TUPLE [ANY], EV_PND_TARGET_DATA]
EV_ABSTRACT_PICK_AND_DROPABLE
target_name: STRING_GENERAL
`Current'
EV_ABSTRACT_PICK_AND_DROPABLE
title: STRING_32
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
bridge_ok: equal (Result, implementation.title)
not_void: Result /= Void
cloned: Result /= implementation.title
upper_bar: EV_VERTICAL_BOX
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
bridge_ok: Result = implementation.upper_bar
veto_dock_function: FUNCTION [ANY, TUPLE [EV_DOCKABLE_SOURCE], BOOLEAN]
`Result'`True'
EV_DOCKABLE_TARGET
require EV_DOCKABLE_TARGET
not_destroyed: not is_destroyed
ensure EV_DOCKABLE_TARGET
bridge_ok: Result = implementation.veto_dock_function
feature
client_height: INTEGER_32
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
ensure EV_CONTAINER
bridge_ok: Result = implementation.client_height
client_width: INTEGER_32
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
ensure EV_CONTAINER
bridge_ok: Result = implementation.client_width
height: INTEGER_32
minimum_height
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.height
minimum_height: INTEGER_32
height
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.minimum_height
positive_or_zero: Result >= 0
minimum_width: INTEGER_32
width
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.minimum_width
positive_or_zero: Result >= 0
screen_x: INTEGER_32
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.screen_x
screen_y: INTEGER_32
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.screen_y
width: INTEGER_32
minimum_width
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.width
x_position: INTEGER_32
x_position
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.x_position
y_position: INTEGER_32
y_position
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.y_position
feature
frozen deep_equal (some: ?ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
shallow_implies_deep: standard_equal (some, other) implies Result
both_or_none_void: (some = Void) implies (Result = (other = Void))
same_type: (Result and (some /= Void)) implies (other /= Void and then some.same_type (other))
symmetric: Result implies deep_equal (other, some)
frozen equal (some: ?ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))
frozen is_deep_equal (other: EV_DIALOG): BOOLEAN
`Current'`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
shallow_implies_deep: standard_is_equal (other) implies Result
same_type: Result implies same_type (other)
symmetric: Result implies other.is_deep_equal (Current)
is_equal (other: EV_DIALOG): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
symmetric: Result implies other.is_equal (Current)
consistent: standard_is_equal (other) implies Result
frozen standard_equal (some: ?ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))
frozen standard_is_equal (other: EV_DIALOG): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
same_type: Result implies same_type (other)
symmetric: Result implies other.standard_is_equal (Current)
feature
conforms_to (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
count: INTEGER_32
`Current'
EV_CELL
require EV_CONTAINER
not_destroyed: not is_destroyed
ensure then EV_CELL
valid_result: Result = 0 or Result = 1
extendible: BOOLEAN
EV_CELLis_empty
EV_CELL
full: BOOLEAN
EV_CELL
has (v: EV_WIDGET): BOOLEAN
`v'
EV_WINDOW
require CONTAINER
True
ensure CONTAINER
not_found_in_empty: Result implies not is_empty
has_capture: BOOLEAN
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
bridge_ok: Result = implementation.has_capture
has_focus: BOOLEAN
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
bridge_ok: Result = implementation.has_focus
has_identifier_name_set: BOOLEAN
EV_IDENTIFIABLE
has_parent: BOOLEAN
EV_IDENTIFIABLE