indexing
description: "Eiffel Vision Application.%NTo start an Eiffel Vision application: create exactly oneEV_APPLICATION object and call launch after setting up initialwindow(s)"
legal: "See notice at end of class."
status: "See notice at end of class."
keywords: "application, accelerator, event loop"
date: "$Date: 2006-07-13 18:06:59 -0700 (Thu, 13 Jul 2006) $"
revision: "$Revision: 61326 $"
class interface
EV_APPLICATION
create
default_create
EV_ANY
require ANY
True
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
captured_widget: EV_WIDGET
require
not_destroyed: not is_destroyed
clipboard: EV_CLIPBOARD
require
not_destroyed: not is_destroyed
ensure
not_void: Result /= Void
bridge_ok: Result.is_equal (implementation.clipboard)
contextual_help_accelerator: EV_ACCELERATOR
require
not_destroyed: not is_destroyed
ensure
not_void: Result /= Void
bridge_ok: Result.is_equal (implementation.contextual_help_accelerator)
data: ANY
EV_ANY
generating_type: STRING_8
ANY
generator: STRING_8
ANY
help_accelerator: EV_ACCELERATOR
require
not_destroyed: not is_destroyed
ensure
not_void: Result /= Void
bridge_ok: Result.is_equal (implementation.help_accelerator)
help_engine: EV_HELP_ENGINE
require
not_destroyed: not is_destroyed
ensure
not_void: Result /= Void
bridge_ok: Result.is_equal (implementation.help_engine)
locked_window: EV_WINDOW
`{EV_WINDOW}.lock_update'
require
not_destroyed: not is_destroyed
windows: LINEAR [EV_WINDOW]
require
not_destroyed: not is_destroyed
ensure
not_void: Result /= Void
bridge_ok: Result.is_equal (implementation.windows)
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 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))
is_equal (other: like Current): 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: like Current): 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
alt_pressed: BOOLEAN
require
not_destroyed: not is_destroyed
conforms_to (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ctrl_pressed: BOOLEAN
require
not_destroyed: not is_destroyed
default_tooltip_delay: INTEGER_32 is 500
focused_widget: EV_WIDGET
require
not_destroyed: not is_destroyed
ensure
bridge_ok: Result = implementation.focused_widget
is_launched: BOOLEAN
launch
same_type (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
definition: Result = (conforms_to (other) and other.conforms_to (Current))
shift_pressed: BOOLEAN
require
not_destroyed: not is_destroyed
tooltip_delay: INTEGER_32
require
not_destroyed: not is_destroyed
ensure
bridge_ok: Result = implementation.tooltip_delay
feature
set_tooltip_delay (a_delay: INTEGER_32)
`a_delay'tooltip_delay
require
not_destroyed: not is_destroyed
a_delay_non_negative: a_delay >= 0
ensure
assigned: tooltip_delay = a_delay
feature
set_data (some_data: like data)
`some_data'data
EV_ANY
require EV_ANY
not_destroyed: not is_destroyed
ensure EV_ANY
data_assigned: data = some_data
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)
frozen deep_copy (other: like Current)
copy`other'deep_twin
ANY
require ANY
other_not_void: other /= Void
ensure ANY
deep_equal: deep_equal (Current, other)
frozen deep_twin: like Current
ANY
ensure ANY
deep_equal: deep_equal (Current, Result)
frozen standard_copy (other: like Current)
`other'
ANY
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_standard_equal: standard_is_equal (other)
frozen standard_twin: like Current
`other'
ANY
ensure ANY
standard_twin_not_void: Result /= Void
equal: standard_equal (Result, Current)
frozen twin: like Current
`Current'
twincopycopy
ANY
ensure ANY
twin_not_void: Result /= Void
is_equal: Result.is_equal (Current)
feature
frozen default: like Current
ANY
frozen default_pointer: POINTER
`POINTER'
`p'default
`p'`POINTER'
ANY
default_rescue
ANY
frozen do_nothing
ANY
feature
display_help_for_widget (a_widget: EV_WIDGET)
`a_widget'
require
not_destroyed: not is_destroyed
a_widget_not_void: a_widget /= Void
enable_contextual_help
require
not_destroyed: not is_destroyed
launch
require
not_destroyed: not is_destroyed
not_already_launched: not is_launched
ensure
is_launched: is_launched
process_events
require
not_destroyed: not is_destroyed
is_launched: is_launched
process_events_until_stopped
require
not_destroyed: not is_destroyed
is_launched: is_launched
sleep (msec: INTEGER_32)
`msec'
require
not_destroyed: not is_destroyed
msec_non_negative: msec >= 0
stop_processing
process_events_until_stopped
require
not_destroyed: not is_destroyed
is_launched: is_launched
feature
destroy
`Current'
EV_ANY
ensure EV_ANY
is_destroyed: is_destroyed
feature
set_contextual_help_accelerator (an_accelerator: EV_ACCELERATOR)
`an_accelerator'contextual_help_accelerator
require
not_destroyed: not is_destroyed
an_accelerator_not_void: an_accelerator /= Void
ensure
contextual_help_accelerator_assigned: contextual_help_accelerator = an_accelerator
set_help_accelerator (an_accelerator: EV_ACCELERATOR)
`an_accelerator'help_accelerator
require
not_destroyed: not is_destroyed
an_accelerator_not_void: an_accelerator /= Void
ensure
help_accelerator_assigned: help_accelerator = an_accelerator
set_help_engine (an_engine: EV_HELP_ENGINE)
`an_engine'help_engine
require
not_destroyed: not is_destroyed
an_engine_not_void: an_engine /= Void
ensure
help_engine_set: help_engine = an_engine
feature
add_idle_action (a_idle_action: PROCEDURE [ANY, TUPLE])
idle_actions`a_idle_action'
require
a_idle_action_not_void: a_idle_action /= Void
cancel_actions: EV_PND_ACTION_SEQUENCE
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
destroy_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_APPLICATION_ACTION_SEQUENCES
do_once_on_idle (an_action: PROCEDURE [ANY, TUPLE])
`an_action'
require
not_destroyed: not is_destroyed
drop_actions: EV_PND_ACTION_SEQUENCE
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
focus_in_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
focus_out_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
idle_actions: EV_NOTIFY_ACTION_SEQUENCE
idle_actions
remove_idle_action
do_once_on_idle
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
key_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, EV_KEY]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
key_press_string_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, STRING_GENERAL]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
key_release_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, EV_KEY]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
mouse_wheel_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
pick_actions: EV_PND_ACTION_SEQUENCE
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
pnd_motion_actions: EV_PND_MOTION_ACTION_SEQUENCE
drop_actions
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
pointer_button_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
pointer_button_release_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
pointer_double_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
pointer_motion_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
post_launch_actions: EV_NOTIFY_ACTION_SEQUENCE
launch
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
remove_idle_action (a_idle_action: PROCEDURE [ANY, TUPLE])
`a_idle_action'idle_actions
require
a_idle_action_not_void: a_idle_action /= Void
theme_changed_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
uncaught_exception_actions: ACTION_SEQUENCE [TUPLE [EXCEPTION]]
EV_APPLICATION_ACTION_SEQUENCES
ensure EV_APPLICATION_ACTION_SEQUENCES
not_void: Result /= Void
feature
io: STD_FILES
ANY
out: STRING_8
ANYtagged_out
ANY
print (some: ANY)
`some'
ANY
frozen tagged_out: STRING_8
ANYout
ANY
feature
operating_environment: OPERATING_ENVIRONMENT
ANY
feature
is_destroyed: BOOLEAN
`Current'
EV_ANY
ensure EV_ANY
bridge_ok: Result = implementation.is_destroyed
invariant
tooltip_delay_not_negative: tooltip_delay >= 0
windows_not_void: windows /= Void
EV_ANY
is_initialized: is_initialized
is_coupled: implementation /= Void and then implementation.interface = Current
default_create_called: default_create_called
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
indexing
copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
356 Storke Road, Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end EV_APPLICATION