indexing
description: "Window intended for transient user interaction.Optionaly modal. A modal dialog blocks the rest of the applicationuntil closed."
status: "See notice at end of class"
keywords: "dialog, dialogue, popup, window"
date: "$Date$"
revision: "$Revision$"
class interface
EV_DIALOG
create
frozen default_create
EV_ANY
ensure then EV_ANY
is_coupled: implementation /= void
is_initialized: is_initialized
default_create_called_set: default_create_called
is_in_default_state: is_in_default_state
feature
frozen default_create
EV_ANY
ensure then EV_ANY
is_coupled: implementation /= void
is_initialized: is_initialized
default_create_called_set: default_create_called
is_in_default_state: is_in_default_state
feature
accelerators: EV_ACCELERATOR_LIST
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
accept_cursor: EV_CURSOR
Result
pebble
EV_PICK_AND_DROPABLE
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.accept_cursor
actual_drop_target_agent: FUNCTION [ANY, TUPLE [INTEGER, INTEGER], EV_ABSTRACT_PICK_AND_DROPABLE]
VoidCurrent
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)
data: ANY
EV_ANY
default_cancel_button: EV_BUTTON
require
not_destroyed: not is_destroyed
default_push_button: EV_BUTTON
require
not_destroyed: not is_destroyed
deny_cursor: EV_CURSOR
Result
pebble
EV_PICK_AND_DROPABLE
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)
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
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
ensure EV_TITLED_WINDOW
bridge_ok: equal (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): IDENTIFIED
an_id
IDENTIFIED
ensure IDENTIFIED
consistent: Result = void or else Result.object_id = an_id
is_modal: BOOLEAN
Current
is_parent_recursive (a_widget: EV_WIDGET): BOOLEAN
a_widgetparentparentparent
EV_WIDGET
require EV_WIDGET
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_height: INTEGER
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
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
IDENTIFIED
ensure IDENTIFIED
valid_id: id_object (Result) = Current
parent: EV_CONTAINER
Current
EV_WIDGET
require EV_CONTAINABLE
not_destroyed: not is_destroyed
ensure then EV_WIDGET
bridge_ok: Result = implementation.parent
pebble: ANY
EV_PICK_AND_DROPABLE
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.pebble
pebble_function: FUNCTION [ANY, TUPLE, ANY]
EV_PICK_AND_DROPABLE
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
Current
EV_PICK_AND_DROPABLE
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.pebble_x_position
pebble_y_position: INTEGER
Current
EV_PICK_AND_DROPABLE
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_CURSOR
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
target_name: STRING
Current
EV_ABSTRACT_PICK_AND_DROPABLE
title: STRING
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
bridge_ok: equal (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
feature
client_height: INTEGER
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
ensure EV_CONTAINER
bridge_ok: Result = implementation.client_height
client_width: INTEGER
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
ensure EV_CONTAINER
bridge_ok: Result = implementation.client_width
height: INTEGER
minimum_height
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.height
minimum_height: INTEGER
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
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
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
bridge_ok: Result = implementation.screen_x
screen_y: INTEGER
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
bridge_ok: Result = implementation.screen_y
width: INTEGER
minimum_width
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.width
x_position: INTEGER
x_position
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.x_position
y_position: INTEGER
y_position
EV_POSITIONED
require EV_POSITIONED
not_destroyed: not is_destroyed
ensure EV_POSITIONED
bridge_ok: Result = implementation.y_position
feature
count: INTEGER
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
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
is_displayed: BOOLEAN
Current
True
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
bridge_ok: Result = implementation.is_displayed
is_empty: BOOLEAN
EV_CELLextendible
EV_CELL
is_inserted (v: EV_WIDGET): BOOLEAN
v
COLLECTION
is_maximized: BOOLEAN
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
ensure EV_TITLED_WINDOW
bridge_ok: Result = implementation.is_maximized
is_minimized: BOOLEAN
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
ensure EV_TITLED_WINDOW
bridge_ok: Result = implementation.is_minimized
is_sensitive: BOOLEAN
EV_SENSITIVE
require EV_SENSITIVE
not_destroyed: not is_destroyed
ensure EV_SENSITIVE
bridge_ok: Result = implementation.user_is_sensitive
is_show_requested: BOOLEAN
Current
is_displayed
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
bridge_ok: Result = implementation.is_show_requested
mode_is_drag_and_drop: BOOLEAN
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.mode_is_drag_and_drop
mode_is_pick_and_drop: BOOLEAN
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.mode_is_pick_and_drop
mode_is_target_menu: BOOLEAN
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure then EV_PICK_AND_DROPABLE
bridge_ok: Result = implementation.mode_is_target_menu
prunable: BOOLEAN
EV_CELL
readable: BOOLEAN
EV_CELL
require EV_CONTAINER
not_destroyed: not is_destroyed
user_can_resize: BOOLEAN
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
bridge_ok: Result = implementation.user_can_resize
writable: BOOLEAN
EV_CELL
require EV_CONTAINER
not_destroyed: not is_destroyed
feature
center_pointer
Current
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
disable_capture
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
not_has_capture: not has_capture
disable_pebble_positioning
Falsepebble_positioning_enabled
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure EV_PICK_AND_DROPABLE
pebble_positioning_updated: not pebble_positioning_enabled
disable_sensitive
EV_SENSITIVE
require EV_SENSITIVE
not_destroyed: not is_destroyed
ensure EV_SENSITIVE
is_unsensitive: not is_sensitive
disable_user_resize
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
not_user_can_resize: not user_can_resize
enable_capture
disable_capture
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
is_displayed: is_displayed
ensure EV_WIDGET
has_capture: has_capture
enable_pebble_positioning
Truepebble_positioning_enabled
pebble_x_positionpebble_y_position
Current
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure EV_PICK_AND_DROPABLE
pebble_positioning_updated: pebble_positioning_enabled
enable_sensitive
EV_SENSITIVE
require EV_SENSITIVE
not_destroyed: not is_destroyed
ensure EV_SENSITIVE
is_sensitive: (parent = void or parent_is_sensitive) implies is_sensitive
enable_user_resize
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
user_can_resize: user_can_resize
hide
Current
is_show_requestedFalse
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
not_is_show_requested: not is_show_requested
lock_update
unlock_update
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
no_locked_window: ((create {EV_ENVIRONMENT}).application.locked_window = void)
ensure EV_WINDOW
locked_window_is_current: (create {EV_ENVIRONMENT}).application.locked_window = Current
lower
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
maximize
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
ensure EV_TITLED_WINDOW
is_maximized: is_maximized
merge_radio_button_groups (other: EV_CONTAINER)
Currentother
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
other_not_void: other /= void
minimize
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
raise
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
remove_menu_bar
menu_barVoid
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
void: menu_bar = void
remove_pebble
pebbleVoidpebble_function
EV_PICK_AND_DROPABLE
ensure EV_ABSTRACT_PICK_AND_DROPABLE
pebble_removed: pebble = void and pebble_function = void
remove_title
titleVoid
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
ensure EV_WINDOW
a_title_removed: title = void
restore
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
ensure EV_TITLED_WINDOW
minimize_restored: old is_minimized implies not is_minimized
maximize_restored: old is_maximized implies not is_maximized
set_accept_cursor (a_cursor: EV_CURSOR)
a_cursor
pebble
EV_PICK_AND_DROPABLE
ensure EV_ABSTRACT_PICK_AND_DROPABLE
accept_cursor_assigned: accept_cursor.is_equal (a_cursor)
set_actual_drop_target_agent (an_agent: like actual_drop_target_agent)
an_agentactual_drop_target_agent
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
an_agent_not_void: an_agent /= void
ensure EV_WIDGET
assigned: actual_drop_target_agent = an_agent
set_default_colors
EV_COLORIZABLE
require EV_COLORIZABLE
not_destroyed: not is_destroyed
set_deny_cursor (a_cursor: EV_CURSOR)
a_cursor
EV_PICK_AND_DROPABLE
ensure EV_ABSTRACT_PICK_AND_DROPABLE
deny_cursor_assigned: deny_cursor.is_equal (a_cursor)
set_drag_and_drop_mode
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure EV_PICK_AND_DROPABLE
drag_and_drop_set: mode_is_drag_and_drop
set_focus
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
is_displayed: is_displayed
is_sensitive: is_sensitive
ensure EV_WIDGET
has_focus: has_focus
set_height (a_height: INTEGER)
a_heightheight
EV_POSITIONABLE
require EV_POSITIONABLE
a_height_positive_or_zero: a_height >= 0
ensure EV_POSITIONABLE
height_assigned: height = minimum_height or else height = a_height
set_maximum_height (a_maximum_height: INTEGER)
a_maximum_heightmaximum_height
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
a_maximum_height_non_negative: a_maximum_height >= 0
a_maximum_height_not_less_than_minimum_height: a_maximum_height >= minimum_height
ensure EV_WINDOW
maximum_height_assigned: maximum_height = a_maximum_height
set_maximum_size (a_maximum_width, a_maximum_height: INTEGER)
a_maximum_widthmaximum_width
a_maximum_heightmaximum_height
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
a_maximum_width_not_less_than_minimum_width: a_maximum_width >= minimum_width
a_maximum_height_not_less_than_minimum_height: a_maximum_height >= minimum_height
ensure EV_WINDOW
maximum_width_assigned: maximum_width = a_maximum_width
maximum_height_assigned: maximum_height = a_maximum_height
set_maximum_width (a_maximum_width: INTEGER)
a_maximum_widthmaximum_width
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
a_maximum_width_non_negative: a_maximum_width >= 0
a_maximum_width_not_less_than_minimum_width: a_maximum_width >= minimum_width
ensure EV_WINDOW
maximum_width_assigned: maximum_width = a_maximum_width
set_menu_bar (a_menu_bar: EV_MENU_BAR)
a_menu_barmenu_bar
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
no_menu_bar_assigned: menu_bar = void
a_menu_bar_not_void: a_menu_bar /= void
ensure EV_WINDOW
assigned: menu_bar = a_menu_bar
set_pebble (a_pebble: like pebble)
a_pebblepebble
set_pebble_function
EV_PICK_AND_DROPABLE
require EV_ABSTRACT_PICK_AND_DROPABLE
a_pebble_not_void: a_pebble /= void
ensure EV_ABSTRACT_PICK_AND_DROPABLE
pebble_assigned: pebble = a_pebble
set_pebble_function (a_function: FUNCTION [ANY, TUPLE, ANY])
a_functionpebble
pebble
a_function
FUNCTIONANYTUPLEINTEGERINTEGERANY
set_pebble
EV_PICK_AND_DROPABLE
require EV_ABSTRACT_PICK_AND_DROPABLE
a_function_not_void: a_function /= void
a_function_takes_two_integer_open_operands: a_function.valid_operands ([1, 1])
ensure EV_ABSTRACT_PICK_AND_DROPABLE
pebble_function_assigned: pebble_function = a_function
set_pebble_position (a_x, a_y: INTEGER)
Current
True
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure EV_PICK_AND_DROPABLE
pebble_position_assigned: pebble_x_position = a_x and pebble_y_position = a_y
set_pick_and_drop_mode
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure EV_PICK_AND_DROPABLE
pick_and_drop_set: mode_is_pick_and_drop
set_position (a_x, a_y: INTEGER)
a_xx_positiona_yy_position
EV_POSITIONABLE
ensure EV_POSITIONABLE
x_position_assigned: x_position = a_x
y_position_assigned: y_position = a_y
set_size (a_width, a_height: INTEGER)
a_widthwidtha_heightheight
EV_POSITIONABLE
require EV_POSITIONABLE
a_width_positive_or_zero: a_width >= 0
a_height_positive_or_zero: a_height >= 0
ensure EV_POSITIONABLE
width_assigned: width = minimum_width or else width = a_width
height_assigned: height = minimum_height or else height = a_height
set_target_menu_mode
EV_PICK_AND_DROPABLE
require EV_PICK_AND_DROPABLE
not_destroyed: not is_destroyed
ensure EV_PICK_AND_DROPABLE
target_menu_mode_set: mode_is_target_menu
set_target_name (a_name: STRING)
a_nametarget_name
EV_ABSTRACT_PICK_AND_DROPABLE
require EV_ABSTRACT_PICK_AND_DROPABLE
a_name_not_void: a_name /= void
ensure EV_ABSTRACT_PICK_AND_DROPABLE
target_name_assigned: a_name /= target_name and a_name.is_equal (target_name)
set_title (a_title: STRING)
a_titletitle
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
a_title_not_void: a_title /= void
a_title_not_empty: not a_title.is_empty
ensure EV_WINDOW
a_title_assigned: title.is_equal (a_title)
set_width (a_width: INTEGER)
a_widthwidth
EV_POSITIONABLE
require EV_POSITIONABLE
a_width_positive_or_zero: a_width >= 0
ensure EV_POSITIONABLE
width_assigned: width = minimum_width or else width = a_width
set_x_position (a_x: INTEGER)
a_xx_position
EV_POSITIONABLE
ensure EV_POSITIONABLE
x_position_assigned: x_position = a_x
set_y_position (a_y: INTEGER)
a_yy_position
EV_POSITIONABLE
ensure EV_POSITIONABLE
y_position_assigned: y_position = a_y
show
Current
True
is_show_requestedTrue
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
ensure EV_WIDGET
is_show_requested: is_show_requested
unlock_update
EV_WINDOW
require EV_WINDOW
not_destroyed: not is_destroyed
locked_window_is_current: (create {EV_ENVIRONMENT}).application.locked_window = Current
ensure EV_WINDOW
no_locked_window: ((create {EV_ENVIRONMENT}).application.locked_window = void)
feature
extend (v: like item)
v
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
extendible: extendible
v_not_void: v /= void
v_parent_void: v.parent = void
v_not_current: v /= Current
v_not_parent_of_current: not is_parent_recursive (v)
v_not_window: not v.conforms_to (create {EV_WINDOW})
ensure EV_CONTAINER
has_v: has (v)
fill (other: CONTAINER [EV_WIDGET])
other
other
COLLECTION
require COLLECTION
other_not_void: other /= void
extendible
put (v: like item)
itemv
EV_CONTAINERreplace
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
writable: writable
v_not_void: v /= void
v_parent_void: v.parent = void
v_not_current: v /= Current
v_not_parent_of_current: not is_parent_recursive (v)
v_not_window: not v.conforms_to (create {EV_WINDOW})
ensure EV_CONTAINER
has_v: has (v)
remove_help_context
EV_APPLICATION.help_key
EV_HELP_CONTEXTABLE
require EV_HELP_CONTEXTABLE
not_destroyed: not is_destroyed
help_context_not_void: help_context /= void
ensure EV_HELP_CONTEXTABLE
no_help_context: help_context = void
remove_icon_name
icon_nameVoid
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
ensure EV_TITLED_WINDOW
icon_name_removed: icon_name = void
replace (v: like item)
itemv
EV_CONTAINERput
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
writable: writable
v_not_void: v /= void
v_parent_void: v.parent = void
v_not_current: v /= Current
v_not_parent_of_current: not is_parent_recursive (v)
v_not_window: not v.conforms_to (create {EV_WINDOW})
ensure EV_CONTAINER
has_v: has (v)
set_background_color (a_color: like background_color)
a_colorforeground_color
EV_COLORIZABLE
require EV_COLORIZABLE
not_destroyed: not is_destroyed
a_color_not_void: a_color /= void
ensure EV_COLORIZABLE
background_color_assigned: background_color.is_equal (a_color)
set_data (some_data: like data)
some_datadata
EV_ANY
require EV_ANY
not_destroyed: not is_destroyed
ensure EV_ANY
data_assigned: data = some_data
set_foreground_color (a_color: like foreground_color)
a_colorforeground_color
EV_COLORIZABLE
require EV_COLORIZABLE
not_destroyed: not is_destroyed
a_color_not_void: a_color /= void
ensure EV_COLORIZABLE
foreground_color_assigned: foreground_color.is_equal (a_color)
set_help_context (an_help_context: like help_context)
an_help_contexthelp_context
EV_HELP_CONTEXTABLE
require EV_HELP_CONTEXTABLE
not_destroyed: not is_destroyed
an_help_context_not_void: an_help_context /= void
ensure EV_HELP_CONTEXTABLE
help_context_assigned: help_context.is_equal (an_help_context)
set_icon_name (an_icon_name: STRING)
an_icon_nameicon_name
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
an_icon_name_not_void: an_icon_name /= void
an_icon_name_not_empty: not an_icon_name.is_empty
ensure EV_TITLED_WINDOW
icon_name_assigned: icon_name.is_equal (an_icon_name)
set_icon_pixmap (an_icon: EV_PIXMAP)
an_iconicon
EV_TITLED_WINDOW
require EV_TITLED_WINDOW
not_destroyed: not is_destroyed
pixmap_not_void: an_icon /= void
ensure EV_TITLED_WINDOW
icon_pixmap_assigned: icon_pixmap.is_equal (an_icon)
set_minimum_height (a_minimum_height: INTEGER)
a_minimum_heightminimum_height
heighta_minimim_height
minimum_height
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
a_minimum_height_positive: a_minimum_height > 0
ensure EV_WIDGET
minimum_height_assigned: minimum_height = a_minimum_height
set_minimum_size (a_minimum_width, a_minimum_height: INTEGER)
a_minimum_heightminimum_height
a_minimum_widthminimum_width
widthheight
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
a_minimum_width_positive: a_minimum_width > 0
a_minimum_height_positive: a_minimum_height > 0
ensure EV_WIDGET
minimum_width_assigned: minimum_width = a_minimum_width
minimum_height_assigned: minimum_height = a_minimum_height
set_minimum_width (a_minimum_width: INTEGER)
a_minimum_widthminimum_width
widtha_minimim_width
minimum_width
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
a_minimum_width_positive: a_minimum_width > 0
ensure EV_WIDGET
minimum_width_assigned: minimum_width = a_minimum_width
set_pointer_style (a_cursor: like pointer_style)
a_cursorpointer_style
EV_WIDGET
require EV_WIDGET
not_destroyed: not is_destroyed
a_cursor_not_void: a_cursor /= void
ensure EV_WIDGET
pointer_style_assigned: pointer_style.is_equal (a_cursor)
feature
prune (v: EV_WIDGET)
v
EV_CELL
require COLLECTION
prunable: prunable
ensure then EV_CELL
not has (v)
prune_all (v: EV_WIDGET)
v
object_comparison
COLLECTION
require COLLECTION
prunable
ensure COLLECTION
no_more_occurrences: not has (v)
wipe_out
item
EV_CELL
require COLLECTION
prunable
ensure COLLECTION
wiped_out: is_empty
feature
linear_representation: LINEAR [like item]
EV_CELL
feature
copy (other: like Current)
other
EV_ANY
require ANY
other_not_void: other /= void
type_identity: same_type (other)
ensure ANY
is_equal: is_equal (other)
feature
dialog_key_press_action (a_key: EV_KEY)
key_press_actions
default_cancel_button
select_actions
default_cancel_button
select_actions
select_actions
propagate_background_color
background_color
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
ensure EV_CONTAINER
background_color_propagated: background_color_propagated
propagate_foreground_color
foreground_color
EV_CONTAINER
require EV_CONTAINER
not_destroyed: not is_destroyed
ensure EV_CONTAINER
foreground_color_propagated: foreground_color_propagated
show_modal_to_window (a_window: EV_WINDOW)
Current
Currenta_window
require
not_destroyed: not is_destroyed
dialog_modeless: not is_modal
a_window_not_void: a_window /= void
a_window_not_current: a_window /= Current
show_relative_to_window (a_window: EV_WINDOW)
Currenta_window
require
not_destroyed: not is_destroyed
a_window_not_void: a_window /= void
a_window_not_current: a_window /= Current
feature
destroy
Current
EV_ANY
ensure EV_ANY
is_destroyed: is_destroyed
feature
conforming_pick_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_PICK_AND_DROPABLE_ACTION_SEQUENCES
ensure EV_PICK_AND_DROPABLE_ACTION_SEQUENCES
not_void: Result /= void
drop_actions: EV_PND_ACTION_SEQUENCE
EV_PICK_AND_DROPABLE_ACTION_SEQUENCES
ensure EV_PICK_AND_DROPABLE_ACTION_SEQUENCES
not_void: Result /= void
focus_in_actions: EV_FOCUS_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
focus_out_actions: EV_FOCUS_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
key_press_actions: EV_KEY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
key_press_string_actions: EV_KEY_STRING_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
key_release_actions: EV_KEY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
move_actions: EV_GEOMETRY_ACTION_SEQUENCE
EV_WINDOW_ACTION_SEQUENCES
ensure EV_WINDOW_ACTION_SEQUENCES
not_void: Result /= void
pick_actions: EV_PND_START_ACTION_SEQUENCE
pebble
EV_PICK_AND_DROPABLE_ACTION_SEQUENCES
ensure EV_PICK_AND_DROPABLE_ACTION_SEQUENCES
not_void: Result /= void
pointer_button_press_actions: EV_POINTER_BUTTON_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
pointer_button_release_actions: EV_POINTER_BUTTON_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
pointer_double_press_actions: EV_POINTER_BUTTON_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
pointer_enter_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
pointer_leave_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
pointer_motion_actions: EV_POINTER_MOTION_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
resize_actions: EV_GEOMETRY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES
ensure EV_WIDGET_ACTION_SEQUENCES
not_void: Result /= void
show_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_WINDOW_ACTION_SEQUENCES
ensure EV_WINDOW_ACTION_SEQUENCES
not_void: Result /= void
feature
is_destroyed: BOOLEAN
Current
EV_ANY
ensure EV_ANY
bridge_ok: Result = implementation.is_destroyed
feature
remove_default_cancel_button
default_cancel_button
require
not_destroyed: not is_destroyed
has_default_cancel_button: default_cancel_button /= void
ensure
not_has_default_cancel_button: default_cancel_button = void
remove_default_push_button
default_push_button
require
not_destroyed: not is_destroyed
has_default_push_button: default_push_button /= void
ensure
not_has_default_push_button: default_push_button = void
set_default_cancel_button (a_button: EV_BUTTON)
a_buttondefault_cancel_button
require
not_destroyed: not is_destroyed
a_button_not_void: a_button /= void
has_button: has_recursive (a_button)
ensure
default_cancel_button_set: default_cancel_button = a_button
set_default_push_button (a_button: EV_BUTTON)
a_button
require
not_destroyed: not is_destroyed
a_button_not_void: a_button /= void
has_button: has_recursive (a_button)
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
EV_TITLED_WINDOW
accelerators_not_void: is_usable implies accelerators /= void
EV_WINDOW
consistent_horizontal_bounds: maximum_width >= minimum_width
consistent_vertical_bounds: maximum_height >= minimum_height
upper_bar_not_void: is_usable implies upper_bar /= void
lower_bar_not_void: is_usable implies lower_bar /= void
EV_CONTAINER
client_width_within_bounds: is_usable implies client_width >= 0 and client_width <= width
client_height_within_bounds: is_usable implies client_height >= 0 and client_height <= height
all_radio_buttons_connected: is_usable implies all_radio_buttons_connected
parent_of_items_is_current: is_usable implies parent_of_items_is_current
items_unique: is_usable implies items_unique
EV_WIDGET
pointer_position_not_void: is_usable and is_show_requested implies pointer_position /= void
is_displayed_implies_show_requested: is_usable and then is_displayed implies is_show_requested
parent_contains_current: is_usable and then parent /= void implies parent.has (Current)
EV_PICK_AND_DROPABLE
user_interface_modes_mutually_exclusive: mode_is_pick_and_drop.to_integer + mode_is_drag_and_drop.to_integer + mode_is_target_menu.to_integer = 1
EV_ANY
is_initialized: is_initialized
is_coupled: implementation /= void and then implementation.interface = Current
default_create_called: default_create_called
EV_COLORIZABLE
background_color_not_void: is_usable implies background_color /= void
foreground_color_not_void: is_usable implies foreground_color /= void
EV_POSITIONED
width_not_negative: is_usable implies width >= 0
height_not_negative: is_usable implies height >= 0
minimum_width_not_negative: is_usable implies minimum_width >= 0
minimum_height_not_negative: is_usable implies minimum_height >= 0
end -- EV_DIALOG