    indexing
    	description: "Eiffel Vision application. Mswindows implementation."
    	legal: "See notice at end of class."
    	status: "See notice at end of class."
    	date: "$Date: 2006-08-10 15:30:30 -0700 (Thu, 10 Aug 2006) $"
    	revision: "$Revision: 62404 $"

    class interface
    	EV_APPLICATION_IMP

    create
    	make (an_interface: like interface)
    			-- Create the application with `an_interface' interface.
    		require -- from EV_ANY_I
    			an_interface_not_void: an_interface /= Void
    		ensure -- from EV_ANY_I
    			interface_assigned: interface = an_interface
    			base_make_called: base_make_called

    feature -- Access

    	accelerators: WEL_ACCELERATORS
    			-- Application's accelerators
    			-- May be redefined (in once) to associate accelerators.
    			-- (from WEL_APPLICATION)

    	alt_pressed: BOOLEAN
    			-- Is alt key currently pressed?

    	application: WEL_APPLICATION
    			-- Current application
    			-- (from WEL_APPLICATION_MAIN_WINDOW)

    	application_main_window: WEL_COMPOSITE_WINDOW
    			-- Application's main window
    			-- (from WEL_APPLICATION_MAIN_WINDOW)

    	captured_widget: EV_WIDGET
    			-- Widget currently captured. Void if none.
    			-- (from EV_APPLICATION_I)

    	check_instruction: INTEGER_32 is 7
    			-- Exception code for violated check
    			-- (from EXCEP_CONST)

    	class_invariant: INTEGER_32 is 6
    			-- Exception code for violated class invariant
    			-- (from EXCEP_CONST)

    	clipboard: EV_CLIPBOARD
    			-- Native platform clipboard access.
    			-- (from EV_APPLICATION_I)

    	com_exception: INTEGER_32 is 28
    			-- Exception code for a COM error.
    			-- (from EXCEP_CONST)

    	contextual_help_accelerator: EV_ACCELERATOR
    			-- Accelerator that enables contextual help mode
    			-- (from EV_APPLICATION_I)

    	create_on_deferred: INTEGER_32 is 17
    			-- Create on deferred
    			-- (from EXCEP_CONST)

    	ctrl_pressed: BOOLEAN
    			-- Is ctrl key currently pressed?

    	default_show_command: INTEGER_32
    			-- Default command used to show `main_window'.
    			-- May be redefined to have a maximized window for
    			-- instance.
    			-- See class WEL_SW_CONSTANTS for values.
    			-- (from WEL_APPLICATION)

    	developer_exception: INTEGER_32 is 24
    			-- Exception code for developer exception
    			-- (from EXCEP_CONST)

    	dollar_applied_to_melted_feature: INTEGER_32 is 26
    			-- $ applied to melted feature
    			-- (from EXCEP_CONST)

    	eiffel_runtime_fatal_error: INTEGER_32 is 25
    			-- Eiffel run-time fatal error
    			-- (from EXCEP_CONST)

    	eiffel_runtime_panic: INTEGER_32 is 13
    			-- Eiffel run-time panic
    			-- (from EXCEP_CONST)

    	exception_in_signal_handler: INTEGER_32 is 20
    			-- Exception in signal handler
    			-- (from EXCEP_CONST)

    	external_exception: INTEGER_32 is 18
    			-- Exception code for operating system error
    			-- which does not set the `errno' variable
    			-- (Unix-specific)
    			-- (from EXCEP_CONST)

    	floating_point_exception: INTEGER_32 is 5
    			-- Exception code for floating point exception
    			-- (from EXCEP_CONST)

    	generating_type: STRING_8
    			-- Name of current object's generating type
    			-- (type of which it is a direct instance)
    			-- (from ANY)

    	generator: STRING_8
    			-- Name of current object's generating class
    			-- (base class of the type of which it is a direct instance)
    			-- (from ANY)

    	help_accelerator: EV_ACCELERATOR
    			-- Accelerator that displays contextual help
    			-- (from EV_APPLICATION_I)

    	help_engine: EV_HELP_ENGINE
    			-- Object that handle contextual help display requests
    			-- (from EV_APPLICATION_I)

    	incorrect_inspect_value: INTEGER_32 is 9
    			-- Exception code for inspect value which is not one
    			-- of the inspect constants, if there is no Else_part
    			-- (from EXCEP_CONST)

    	io_exception: INTEGER_32 is 21
    			-- Exception code for I/O error
    			-- (from EXCEP_CONST)

    	key_pressed (virtual_key: INTEGER_32): BOOLEAN
    			-- Is `virtual_key' currently pressed?

    	locked_window: EV_WINDOW
    			-- Window currently locked. Void if no window
    			-- is currently locked.
    			--
    			-- See `{EV_WINDOW}.lock_update' for more details
    			-- (from EV_APPLICATION_I)

    	loop_invariant: INTEGER_32 is 11
    			-- Exception code for violated loop invariant
    			-- (from EXCEP_CONST)

    	loop_variant: INTEGER_32 is 10
    			-- Exception code for non-decreased loop variant
    			-- (from EXCEP_CONST)

    	no_more_memory: INTEGER_32 is 2
    			-- Exception code for failed memory allocation
    			-- (from EXCEP_CONST)

    	number_of_codes: INTEGER_32 is 29
    			-- How many codes are there to represent exceptions?
    			-- (from EXCEP_CONST)

    	operating_system_exception: INTEGER_32 is 22
    			-- Exception code for operating system error
    			-- which sets the `errno' variable
    			-- (Unix-specific)
    			-- (from EXCEP_CONST)

    	out_of_memory: INTEGER_32 is 15
    			-- Out of memory (cannot be ignored)
    			-- (from EXCEP_CONST)

    	pnd_targets: HASH_TABLE [INTEGER_32, INTEGER_32]
    			-- Global list of pick and drop target object ids.
    			-- (from EV_APPLICATION_I)

    	postcondition: INTEGER_32 is 4
    			-- Exception code for violated postcondition
    			-- (from EXCEP_CONST)

    	precondition: INTEGER_32 is 3
    			-- Exception code for violated precondition
    			-- (from EXCEP_CONST)

    	rescue_exception: INTEGER_32 is 14
    			-- Exception code for exception in rescue clause
    			-- (from EXCEP_CONST)

    	resumption_failed: INTEGER_32 is 16
    			-- Resumption failed (retry did not succeed)
    			-- (from EXCEP_CONST)

    	retrieve_exception: INTEGER_32 is 23
    			-- Exception code for retrieval error
    			-- may be raised by `retrieved' in `IO_MEDIUM'.
    			-- (from EXCEP_CONST)

    	routine_failure: INTEGER_32 is 8
    			-- Exception code for failed routine
    			-- (from EXCEP_CONST)

    	runtime_check_exception: INTEGER_32 is 29
    			-- Exception code for runtime check being violated.
    			-- (from EXCEP_CONST)

    	runtime_io_exception: INTEGER_32 is 27
    			-- Exception code for I/O error raised by runtime functions
    			-- such as store/retrieve, file access...
    			-- (from EXCEP_CONST)

    	shift_pressed: BOOLEAN
    			-- Is shift key currently pressed?

    	signal_exception: INTEGER_32 is 12
    			-- Exception code for operating system signal
    			-- (from EXCEP_CONST)

    	valid_code (c: INTEGER_32): BOOLEAN
    			-- Is `c' a valid code to represent some kind of exceptions?
    			-- (from EXCEP_CONST)

    	vk_0: INTEGER_32 is 48
    			-- (from WEL_VK_CONSTANTS)

    	vk_1: INTEGER_32 is 49
    			-- (from WEL_VK_CONSTANTS)

    	vk_2: INTEGER_32 is 50
    			-- (from WEL_VK_CONSTANTS)

    	vk_3: INTEGER_32 is 51
    			-- (from WEL_VK_CONSTANTS)

    	vk_4: INTEGER_32 is 52
    			-- (from WEL_VK_CONSTANTS)

    	vk_5: INTEGER_32 is 53
    			-- (from WEL_VK_CONSTANTS)

    	vk_6: INTEGER_32 is 54
    			-- (from WEL_VK_CONSTANTS)

    	vk_7: INTEGER_32 is 55
    			-- (from WEL_VK_CONSTANTS)

    	vk_8: INTEGER_32 is 56
    			-- (from WEL_VK_CONSTANTS)

    	vk_9: INTEGER_32 is 57
    			-- Vk_a thru Vk_z are the same as their ASCII equivalents: 'A' thru 'Z'.
    			-- (from WEL_VK_CONSTANTS)

    	vk_a: INTEGER_32 is 65
    			-- (from WEL_VK_CONSTANTS)

    	vk_add: INTEGER_32 is 107
    			-- Declared in Windows as VK_ADD
    			-- (from WEL_VK_CONSTANTS)

    	vk_alt: INTEGER_32 is 18
    			-- Declared in Windows as VK_MENU
    			-- Was declared in WEL_VK_CONSTANTS as synonym of Vk_menu.
    			-- (from WEL_VK_CONSTANTS)

    	vk_apps: INTEGER_32 is 93
    			-- Declared in Windows as VK_APPS
    			-- Vk_0 thru Vk_9 are the same as their ASCII equivalents: '0' thru '9'.
    			-- (from WEL_VK_CONSTANTS)

    	vk_b: INTEGER_32 is 66
    			-- (from WEL_VK_CONSTANTS)

    	vk_back: INTEGER_32 is 8
    			-- Declared in Windows as VK_BACK
    			-- (from WEL_VK_CONSTANTS)

    	vk_c: INTEGER_32 is 67
    			-- (from WEL_VK_CONSTANTS)

    	vk_cancel: INTEGER_32 is 3
    			-- Declared in Windows as VK_CANCEL
    			-- (from WEL_VK_CONSTANTS)

    	vk_capital: INTEGER_32 is 20
    			-- Declared in Windows as VK_CAPITAL
    			-- (from WEL_VK_CONSTANTS)

    	vk_clear: INTEGER_32 is 12
    			-- Declared in Windows as VK_CLEAR
    			-- (from WEL_VK_CONSTANTS)

    	vk_control: INTEGER_32 is 17
    			-- Declared in Windows as VK_CONTROL
    			-- (from WEL_VK_CONSTANTS)

    	vk_d: INTEGER_32 is 68
    			-- (from WEL_VK_CONSTANTS)

    	vk_decimal: INTEGER_32 is 110
    			-- Declared in Windows as VK_DECIMAL
    			-- (from WEL_VK_CONSTANTS)

    	vk_delete: INTEGER_32 is 46
    			-- Declared in Windows as VK_DELETE
    			-- (from WEL_VK_CONSTANTS)

    	vk_divide: INTEGER_32 is 111
    			-- Declared in Windows as VK_DIVIDE
    			-- (from WEL_VK_CONSTANTS)

    	vk_down: INTEGER_32 is 40
    			-- Declared in Windows as VK_DOWN
    			-- (from WEL_VK_CONSTANTS)

    	vk_e: INTEGER_32 is 69
    			-- (from WEL_VK_CONSTANTS)

    	vk_end: INTEGER_32 is 35
    			-- Declared in Windows as VK_END
    			-- (from WEL_VK_CONSTANTS)

    	vk_escape: INTEGER_32 is 27
    			-- Declared in Windows as VK_ESCAPE
    			-- (from WEL_VK_CONSTANTS)

    	vk_execute: INTEGER_32 is 43
    			-- Declared in Windows as VK_EXECUTE
    			-- (from WEL_VK_CONSTANTS)

    	vk_f: INTEGER_32 is 70
    			-- (from WEL_VK_CONSTANTS)

    	vk_f1: INTEGER_32 is 112
    			-- Declared in Windows as VK_F1
    			-- (from WEL_VK_CONSTANTS)

    	vk_f10: INTEGER_32 is 121
    			-- Declared in Windows as VK_F10
    			-- (from WEL_VK_CONSTANTS)

    	vk_f11: INTEGER_32 is 122
    			-- Declared in Windows as VK_F11
    			-- (from WEL_VK_CONSTANTS)

    	vk_f12: INTEGER_32 is 123
    			-- Declared in Windows as VK_F12
    			-- (from WEL_VK_CONSTANTS)

    	vk_f13: INTEGER_32 is 124
    			-- Declared in Windows as VK_F13
    			-- (from WEL_VK_CONSTANTS)

    	vk_f14: INTEGER_32 is 125
    			-- Declared in Windows as VK_F14
    			-- (from WEL_VK_CONSTANTS)

    	vk_f15: INTEGER_32 is 126
    			-- Declared in Windows as VK_F15
    			-- (from WEL_VK_CONSTANTS)

    	vk_f16: INTEGER_32 is 127
    			-- Declared in Windows as VK_F16
    			-- (from WEL_VK_CONSTANTS)

    	vk_f17: INTEGER_32 is 128
    			-- Declared in Windows as VK_F17
    			-- (from WEL_VK_CONSTANTS)

    	vk_f18: INTEGER_32 is 129
    			-- Declared in Windows as VK_F18
    			-- (from WEL_VK_CONSTANTS)

    	vk_f19: INTEGER_32 is 130
    			-- Declared in Windows as VK_F19
    			-- (from WEL_VK_CONSTANTS)

    	vk_f2: INTEGER_32 is 113
    			-- Declared in Windows as VK_F2
    			-- (from WEL_VK_CONSTANTS)

    	vk_f20: INTEGER_32 is 131
    			-- Declared in Windows as VK_F20
    			-- (from WEL_VK_CONSTANTS)

    	vk_f21: INTEGER_32 is 132
    			-- Declared in Windows as VK_F21
    			-- (from WEL_VK_CONSTANTS)

    	vk_f22: INTEGER_32 is 133
    			-- Declared in Windows as VK_F22
    			-- (from WEL_VK_CONSTANTS)

    	vk_f23: INTEGER_32 is 134
    			-- Declared in Windows as VK_F23
    			-- (from WEL_VK_CONSTANTS)

    	vk_f24: INTEGER_32 is 135
    			-- Declared in Windows as VK_F24
    			-- (from WEL_VK_CONSTANTS)

    	vk_f3: INTEGER_32 is 114
    			-- Declared in Windows as VK_F3
    			-- (from WEL_VK_CONSTANTS)

    	vk_f4: INTEGER_32 is 115
    			-- Declared in Windows as VK_F4
    			-- (from WEL_VK_CONSTANTS)

    	vk_f5: INTEGER_32 is 116
    			-- Declared in Windows as VK_F5
    			-- (from WEL_VK_CONSTANTS)

    	vk_f6: INTEGER_32 is 117
    			-- Declared in Windows as VK_F6
    			-- (from WEL_VK_CONSTANTS)

    	vk_f7: INTEGER_32 is 118
    			-- Declared in Windows as VK_F7
    			-- (from WEL_VK_CONSTANTS)

    	vk_f8: INTEGER_32 is 119
    			-- Declared in Windows as VK_F8
    			-- (from WEL_VK_CONSTANTS)

    	vk_f9: INTEGER_32 is 120
    			-- Declared in Windows as VK_F9
    			-- (from WEL_VK_CONSTANTS)

    	vk_g: INTEGER_32 is 71
    			-- (from WEL_VK_CONSTANTS)

    	vk_h: INTEGER_32 is 72
    			-- (from WEL_VK_CONSTANTS)

    	vk_help: INTEGER_32 is 47
    			-- Declared in Windows as VK_HELP
    			-- (from WEL_VK_CONSTANTS)

    	vk_home: INTEGER_32 is 36
    			-- Declared in Windows as VK_HOME
    			-- (from WEL_VK_CONSTANTS)

    	vk_i: INTEGER_32 is 73
    			-- (from WEL_VK_CONSTANTS)

    	vk_insert: INTEGER_32 is 45
    			-- Declared in Windows as VK_INSERT
    			-- (from WEL_VK_CONSTANTS)

    	vk_j: INTEGER_32 is 74
    			-- (from WEL_VK_CONSTANTS)

    	vk_k: INTEGER_32 is 75
    			-- (from WEL_VK_CONSTANTS)

    	vk_l: INTEGER_32 is 76
    			-- (from WEL_VK_CONSTANTS)

    	vk_lbutton: INTEGER_32 is 1
    			-- Declared in Windows as VK_LBUTTON
    			-- (from WEL_VK_CONSTANTS)

    	vk_lcontrol: INTEGER_32 is 162
    			-- Declared in Windows as VK_LCONTROL
    			-- (from WEL_VK_CONSTANTS)

    	vk_left: INTEGER_32 is 37
    			-- Declared in Windows as VK_LEFT
    			-- (from WEL_VK_CONSTANTS)

    	vk_lmenu: INTEGER_32 is 164
    			-- Declared in Windows as VK_LMENU
    			-- (from WEL_VK_CONSTANTS)

    	vk_lshift: INTEGER_32 is 160
    			-- Declared in Windows as VK_LSHIFT
    			-- (from WEL_VK_CONSTANTS)

    	vk_m: INTEGER_32 is 77
    			-- (from WEL_VK_CONSTANTS)

    	vk_mbutton: INTEGER_32 is 4
    			-- Declared in Windows as VK_MBUTTON
    			-- (from WEL_VK_CONSTANTS)

    	vk_menu: INTEGER_32 is 18
    			-- Declared in Windows as VK_MENU
    			-- Was declared in WEL_VK_CONSTANTS as synonym of Vk_alt.
    			-- (from WEL_VK_CONSTANTS)

    	vk_multiply: INTEGER_32 is 106
    			-- Declared in Windows as VK_MULTIPLY
    			-- (from WEL_VK_CONSTANTS)

    	vk_n: INTEGER_32 is 78
    			-- (from WEL_VK_CONSTANTS)

    	vk_next: INTEGER_32 is 34
    			-- Declared in Windows as VK_NEXT
    			-- (from WEL_VK_CONSTANTS)

    	vk_numlock: INTEGER_32 is 144
    			-- Declared in Windows as VK_NUMLOCK
    			-- (from WEL_VK_CONSTANTS)

    	vk_numpad0: INTEGER_32 is 96
    			-- Declared in Windows as VK_NUMPAD0
    			-- (from WEL_VK_CONSTANTS)

    	vk_numpad1: INTEGER_32 is 97
    			-- Declared in Windows as VK_NUMPAD1
    			-- (from WEL_VK_CONSTANTS)

    	vk_numpad2: INTEGER_32 is 98
    			-- Declared in Windows as VK_NUMPAD2
    			-- (from WEL_VK_CONSTANTS)

    	vk_numpad3: INTEGER_32 is 99
    			-- Declared in Windows as VK_NUMPAD3
    			-- (from WEL_VK_CONSTANTS)

    	vk_numpad4: INTEGER_32 is 100
    			-- Declared in Windows as VK_NUMPAD4
    			-- (from WEL_VK_CONSTANTS)

    	vk_numpad5: INTEGER_32 is 101
    			-- Declared in Windows as VK_NUMPAD5
    			-- (from WEL_VK_CONSTANTS)

    	vk_numpad6: INTEGER_32 is 102
    			-- Declared in Windows as VK_NUMPAD6
    			-- (from WEL_VK_CONSTANTS)

    	vk_numpad7: INTEGER_32 is 103
    			-- Declared in Windows as VK_NUMPAD7
    			-- (from WEL_VK_CONSTANTS)

    	vk_numpad8: INTEGER_32 is 104
    			-- Declared in Windows as VK_NUMPAD8
    			-- (from WEL_VK_CONSTANTS)

    	vk_numpad9: INTEGER_32 is 105
    			-- Declared in Windows as VK_NUMPAD9
    			-- (from WEL_VK_CONSTANTS)

    	vk_o: INTEGER_32 is 79
    			-- (from WEL_VK_CONSTANTS)

    	vk_p: INTEGER_32 is 80
    			-- (from WEL_VK_CONSTANTS)

    	vk_pause: INTEGER_32 is 19
    			-- Declared in Windows as VK_PAUSE
    			-- (from WEL_VK_CONSTANTS)

    	vk_print: INTEGER_32 is 42
    			-- Declared in Windows as VK_PRINT
    			-- (from WEL_VK_CONSTANTS)

    	vk_prior: INTEGER_32 is 33
    			-- Declared in Windows as VK_PRIOR
    			-- (from WEL_VK_CONSTANTS)

    	vk_q: INTEGER_32 is 81
    			-- (from WEL_VK_CONSTANTS)

    	vk_r: INTEGER_32 is 82
    			-- (from WEL_VK_CONSTANTS)

    	vk_rbutton: INTEGER_32 is 2
    			-- Declared in Windows as VK_RBUTTON
    			-- (from WEL_VK_CONSTANTS)

    	vk_rcontrol: INTEGER_32 is 163
    			-- Declared in Windows as VK_RCONTROL
    			-- (from WEL_VK_CONSTANTS)

    	vk_return: INTEGER_32 is 13
    			-- Declared in Windows as VK_RETURN
    			-- (from WEL_VK_CONSTANTS)

    	vk_right: INTEGER_32 is 39
    			-- Declared in Windows as VK_RIGHT
    			-- (from WEL_VK_CONSTANTS)

    	vk_rmenu: INTEGER_32 is 165
    			-- Declared in Windows as VK_RMENU
    			-- (from WEL_VK_CONSTANTS)

    	vk_rshift: INTEGER_32 is 161
    			-- Declared in Windows as VK_RSHIFT
    			-- (from WEL_VK_CONSTANTS)

    	vk_s: INTEGER_32 is 83
    			-- (from WEL_VK_CONSTANTS)

    	vk_scroll: INTEGER_32 is 145
    			-- Declared in Windows as VK_SCROLL
    			-- (from WEL_VK_CONSTANTS)

    	vk_select: INTEGER_32 is 41
    			-- Declared in Windows as VK_SELECT
    			-- (from WEL_VK_CONSTANTS)

    	vk_separator: INTEGER_32 is 108
    			-- Declared in Windows as VK_SEPARATOR
    			-- (from WEL_VK_CONSTANTS)

    	vk_shift: INTEGER_32 is 16
    			-- Declared in Windows as VK_SHIFT
    			-- (from WEL_VK_CONSTANTS)

    	vk_snapshot: INTEGER_32 is 44
    			-- Declared in Windows as VK_SNAPSHOT
    			-- (from WEL_VK_CONSTANTS)

    	vk_space: INTEGER_32 is 32
    			-- Declared in Windows as VK_SPACE
    			-- (from WEL_VK_CONSTANTS)

    	vk_subtract: INTEGER_32 is 109
    			-- Declared in Windows as VK_SUBTRACT
    			-- (from WEL_VK_CONSTANTS)

    	vk_t: INTEGER_32 is 84
    			-- (from WEL_VK_CONSTANTS)

    	vk_tab: INTEGER_32 is 9
    			-- Declared in Windows as VK_TAB
    			-- (from WEL_VK_CONSTANTS)

    	vk_u: INTEGER_32 is 85
    			-- (from WEL_VK_CONSTANTS)

    	vk_up: INTEGER_32 is 38
    			-- Declared in Windows as VK_UP
    			-- (from WEL_VK_CONSTANTS)

    	vk_v: INTEGER_32 is 86
    			-- (from WEL_VK_CONSTANTS)

    	vk_w: INTEGER_32 is 87
    			-- (from WEL_VK_CONSTANTS)

    	vk_x: INTEGER_32 is 88
    			-- (from WEL_VK_CONSTANTS)

    	vk_y: INTEGER_32 is 89
    			-- (from WEL_VK_CONSTANTS)

    	vk_z: INTEGER_32 is 90
    			-- (from WEL_VK_CONSTANTS)

    	void_assigned_to_expanded: INTEGER_32 is 19
    			-- Exception code for assignment of void value
    			-- to expanded entity
    			-- (from EXCEP_CONST)

    	void_call_target: INTEGER_32 is 1
    			-- Exception code for feature applied to void reference
    			-- (from EXCEP_CONST)

    feature -- Comparison

    	frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
    			-- Are `some' and `other' either both void
    			-- or attached to isomorphic object structures?
    			-- (from ANY)
    		ensure -- from 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
    			-- Are `some' and `other' either both void or attached
    			-- to objects considered equal?
    			-- (from ANY)
    		ensure -- from 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
    			-- Is `other' attached to an object considered
    			-- equal to current object?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from 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
    			-- Are `some' and `other' either both void or attached to
    			-- field-by-field identical objects of the same type?
    			-- Always uses default object comparison criterion.
    			-- (from ANY)
    		ensure -- from 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
    			-- Is `other' attached to an object of the same type
    			-- as current object, and field-by-field identical to it?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			same_type: Result implies same_type (other)
    			symmetric: Result implies other.standard_is_equal (Current)

    feature -- Status report

    	assertion_violation: BOOLEAN
    			-- Is last exception originally due to a violated
    			-- assertion or non-decreasing variant?
    			-- (from EXCEPTIONS)

    	class_name: STRING_8
    			-- Name of the class that includes the recipient
    			-- of original form of last exception
    			-- (from EXCEPTIONS)

    	conforms_to (other: ANY): BOOLEAN
    			-- Does type of current object conform to type
    			-- of `other' (as per Eiffel: The Language, chapter 13)?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void

    	developer_exception_name: STRING_8
    			-- Name of last developer-raised exception
    			-- (from EXCEPTIONS)
    		require -- from EXCEPTIONS
    			applicable: is_developer_exception

    	exception: INTEGER_32
    			-- Code of last exception that occurred
    			-- (from EXCEPTIONS)

    	exception_trace: STRING_8
    			-- String representation of the exception trace
    			-- (from EXCEPTIONS)

    	focused_widget: EV_WIDGET
    			-- Widget with keyboard focus
    			-- (from EV_APPLICATION_I)

    	idle_action_enabled: BOOLEAN
    			-- Is the idle action enabled?
    			-- (False by default)
    			-- (from WEL_APPLICATION)

    	is_application_main_window (window: WEL_COMPOSITE_WINDOW): BOOLEAN
    			-- Is `window' the application's main window?
    			-- (from WEL_APPLICATION_MAIN_WINDOW)
    		require -- from WEL_APPLICATION_MAIN_WINDOW
    			window_not_void: window /= Void
    		ensure -- from WEL_APPLICATION_MAIN_WINDOW
    			Result = (window = application_main_window)

    	is_developer_exception: BOOLEAN
    			-- Is the last exception originally due to
    			-- a developer exception?
    			-- (from EXCEPTIONS)

    	is_developer_exception_of_name (name: STRING_8): BOOLEAN
    			-- Is the last exception originally due to a developer
    			-- exception of name `name'?
    			-- (from EXCEPTIONS)

    	is_dialog (hwnd: POINTER): BOOLEAN
    			-- Is the window corresponding to `hwnd' a dialog box?
    			-- We call the function with a dialog box option,
    			-- if it is indeed a dialog, the result will always
    			-- be non zero, otherwise it is zero.
    			-- (from WEL_APPLICATION)

    	is_signal: BOOLEAN
    			-- Is last exception originally due to an external
    			-- event (operating system signal)?
    			-- (from EXCEPTIONS)

    	is_system_exception: BOOLEAN
    			-- Is last exception originally due to an
    			-- external event (operating system error)?
    			-- (from EXCEPTIONS)

    	meaning (except: INTEGER_32): STRING_8
    			-- A message in English describing what `except' is
    			-- (from EXCEPTIONS)

    	original_class_name: STRING_8
    			-- Name of the class that includes the recipient
    			-- of original form of last exception
    			-- (from EXCEPTIONS)

    	original_exception: INTEGER_32
    			-- Original code of last exception that triggered
    			-- current exception
    			-- (from EXCEPTIONS)

    	original_recipient_name: STRING_8
    			-- Name of the routine whose execution was
    			-- interrupted by original form of last exception
    			-- (from EXCEPTIONS)

    	original_tag_name: STRING_8
    			-- Assertion tag for original form of last
    			-- assertion violation.
    			-- (from EXCEPTIONS)

    	recipient_name: STRING_8
    			-- Name of the routine whose execution was
    			-- interrupted by last exception
    			-- (from EXCEPTIONS)

    	runable: BOOLEAN
    			-- Can the application be run?
    			-- (True by default)
    			-- The user may want to return False if the application
    			-- cannot be executed for any reason.
    			-- (from WEL_APPLICATION)

    	same_type (other: ANY): BOOLEAN
    			-- Is type of current object identical to type of `other'?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			definition: Result = (conforms_to (other) and other.conforms_to (Current))

    	tag_name: STRING_8
    			-- Tag of last violated assertion clause
    			-- (from EXCEPTIONS)

    feature -- Status setting

    	catch (code: INTEGER_32)
    			-- Make sure that any exception of code `code' will be
    			-- caught. This is the default.
    			-- (from EXCEPTIONS)

    	die (code: INTEGER_32)
    			-- Terminate execution with exit status `code',
    			-- without triggering an exception.
    			-- (from EXCEPTIONS)

    	disable_idle_action
    			-- Disable the call to idle_action when the message
    			-- queue is empty.
    			-- (from WEL_APPLICATION)
    		ensure -- from WEL_APPLICATION
    			idle_action_disabled: not idle_action_enabled

    	enable_idle_action
    			-- Enable the call to idle_action when the message
    			-- queue is empty.
    			-- (from WEL_APPLICATION)
    		ensure -- from WEL_APPLICATION
    			idle_action_enabled: idle_action_enabled

    	ignore (code: INTEGER_32)
    			-- Make sure that any exception of code `code' will be
    			-- ignored. This is not the default.
    			-- (from EXCEPTIONS)

    	message_on_failure
    			-- Print an exception history table
    			-- in case of failure.
    			-- This is the default.
    			-- (from EXCEPTIONS)

    	no_message_on_failure
    			-- Do not print an exception history table
    			-- in case of failure.
    			-- (from EXCEPTIONS)

    	raise (name: STRING_8)
    			-- Raise a developer exception of name `name'.
    			-- (from EXCEPTIONS)

    	raise_retrieval_exception (name: STRING_8)
    			-- Raise a retrieval exception of name `name'.
    			-- (from EXCEPTIONS)

    	set_capture_type (a_capture_type: INTEGER_32)
    			-- Set the type of capture to use when capturing the
    			-- mouse to `a_capture_type'.
    			-- See constants Capture_xxxx at the end of the class
    		require
    			valid_capture_type: a_capture_type = capture_normal or a_capture_type = capture_heavy
    		ensure
    			valid_capture: capture_type = capture_normal or capture_type = capture_heavy

    	set_tooltip_delay (a_delay: INTEGER_32)
    			-- Assign `a_delay' to tooltip_delay.
    		require -- from EV_APPLICATION_I
    			a_delay_non_negative: a_delay >= 0
    		ensure -- from EV_APPLICATION_I
    			assigned: tooltip_delay = a_delay

    feature -- Element change

    	add_root_window (w: WEL_FRAME_WINDOW)
    			-- Add `w' to the list of root windows.

    	remove_root_window (w: WEL_FRAME_WINDOW)
    			-- Remove `w' from the root windows list.

    	set_window_with_focus (a_window: EV_WINDOW)
    			-- Assign implementation of `a_window' to window_with_focus.

    	window_with_focus: EV_WINDOW_IMP
    			-- `Result' is EV_WINDOW with current focus.

    feature -- Duplication

    	copy (other: like Current)
    			-- Update current object using fields of object attached
    			-- to `other', so as to yield equal objects.
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    			type_identity: same_type (other)
    		ensure -- from ANY
    			is_equal: is_equal (other)

    	frozen deep_copy (other: like Current)
    			-- Effect equivalent to that of:
    			--		copy (`other' . deep_twin)
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			deep_equal: deep_equal (Current, other)

    	frozen deep_twin: like Current
    			-- New object structure recursively duplicated from Current.
    			-- (from ANY)
    		ensure -- from ANY
    			deep_equal: deep_equal (Current, Result)

    	frozen standard_copy (other: like Current)
    			-- Copy every field of `other' onto corresponding field
    			-- of current object.
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    			type_identity: same_type (other)
    		ensure -- from ANY
    			is_standard_equal: standard_is_equal (other)

    	frozen standard_twin: like Current
    			-- New object field-by-field identical to `other'.
    			-- Always uses default copying semantics.
    			-- (from ANY)
    		ensure -- from ANY
    			standard_twin_not_void: Result /= Void
    			equal: standard_equal (Result, Current)

    	frozen twin: like Current
    			-- New object equal to `Current'
    			-- twin calls copy; to change copying/twining semantics, redefine copy.
    			-- (from ANY)
    		ensure -- from ANY
    			twin_not_void: Result /= Void
    			is_equal: Result.is_equal (Current)

    feature -- Basic operations

    	frozen default: like Current
    			-- Default value of object's type
    			-- (from ANY)

    	frozen default_pointer: POINTER
    			-- Default value of type `POINTER'
    			-- (Avoid the need to write `p'.default for
    			-- some `p' of type `POINTER'.)
    			-- (from ANY)

    	default_rescue
    			-- Process exception for routines with no Rescue clause.
    			-- (Default: do nothing.)
    			-- (from ANY)

    	frozen do_nothing
    			-- Execute a null action.
    			-- (from ANY)

    	idle_action
    			-- Called when the message queue is empty.
    			-- Useful to perform background operations.
    			-- (from WEL_APPLICATION)
    		require -- from WEL_APPLICATION
    			idle_action_enabled: idle_action_enabled

    	run
    			-- Create `main_window' and start the message loop.
    			-- (from WEL_APPLICATION)
    		require -- from WEL_APPLICATION
    			runable: runable
    			main_window_not_void: application_main_window /= Void
    			parent_main_window_is_void: application_main_window.parent = Void

    feature -- Implementation

    	call_idle_actions
    			-- Call idle actions.
    			-- (from EV_APPLICATION_I)

    	call_post_launch_actions
    			-- Call the post launch actions.
    			-- (from EV_APPLICATION_I)

    	exception_dialog: EV_DIALOG
    			-- Dialog used for showing uncaught exceptions.
    			-- (from EV_APPLICATION_I)

    	interface: EV_APPLICATION
    			-- Provides a common user interface to platform dependent
    			-- functionality implemented by `Current'
    			-- (from EV_APPLICATION_I)

    	new_exception: EXCEPTION
    			-- New exception object representating the last exception caught in Current
    			-- (from EV_APPLICATION_I)
    		ensure -- from EV_APPLICATION_I
    			new_exception_not_void: Result /= Void

    	on_exception_action (an_exception: EXCEPTION)
    			-- Call exception actions.
    			-- (from EV_APPLICATION_I)
    		require -- from EV_APPLICATION_I
    			an_exception_not_void: an_exception /= Void

    	show_exception_dialog: BOOLEAN is True
    			-- Should the exception dialog be shown by default?
    			-- (from EV_APPLICATION_I)

    	uncaught_exception_actions_called: BOOLEAN
    			-- Are the `uncaught_exceptions_actions' currently being called?
    			-- This is used to prevent infinite looping should an exception be raised as part of calling uncaught_exception_actions.
    			-- (from EV_APPLICATION_I)

    feature

    	pointer_motion_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32]]
    			-- Actions to be performed when screen pointer moves.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    feature -- Basic operation

    	add_idle_action (a_idle_action: PROCEDURE [ANY, TUPLE])
    			-- Extend idle_actions with `a_idle_action'.
    			-- Thread safe
    			-- (from EV_APPLICATION_I)
    		require -- from EV_APPLICATION_I
    			a_idle_action_not_void: a_idle_action /= Void

    	destroy
    			-- Destroy `Current' (End the application).
    		ensure -- from EV_ANY_I
    			is_in_destroy_set: is_in_destroy
    			is_destroyed_set: is_destroyed

    	display_help_for_widget (a_widget: EV_WIDGET)
    			-- Display contextual help for `a_widget', if any.
    			-- (from EV_APPLICATION_I)
    		require -- from EV_APPLICATION_I
    			a_widget_not_void: a_widget /= Void

    	enable_contextual_help
    			-- Change mouse cursor to help cursor
    			-- Capture mouse input
    			-- Send help context of widget under mouse cursor when left mouse button is pressed to help engine.
    			-- Cancel contextual help mode when right mouse button is pressed.
    			-- (from EV_APPLICATION_I)

    	lock
    			-- Lock the Mutex.

    	process_events
    			-- Process any pending events.

    	process_graphical_events
    			-- Process any pending paint messages.

    	relinquish_cpu_slice
    			-- Give timeslice back to kernel so as to not take all CPU.
    			-- (from EV_APPLICATION_I)

    	remove_idle_action (a_idle_action: PROCEDURE [ANY, TUPLE])
    			-- Remove `a_idle_action' from idle_actions
    			-- Thread safe
    			-- (from EV_APPLICATION_I)
    		require -- from EV_APPLICATION_I
    			a_idle_action_not_void: a_idle_action /= Void

    	sleep (msec: INTEGER_32)
    			-- Wait for `msec' milliseconds and return.
    		require -- from EV_APPLICATION_I
    			msec_non_negative: msec >= 0

    	try_lock: BOOLEAN
    			-- Try to see if we can lock, False means no lock could be attained

    	unlock
    			-- Unlock the Mutex.

    feature -- Element Change

    	set_captured_widget (a_captured_widget: EV_WIDGET)
    			-- Set captured_widget to the widget that has the current capture 'a_capture_widget'.
    			-- (from EV_APPLICATION_I)
    		ensure -- from EV_APPLICATION_I
    			captured_widget_set: captured_widget = a_captured_widget

    	set_contextual_help_accelerator (an_accelerator: EV_ACCELERATOR)
    			-- Assign `an_accelerator' to contextual_help_accelerator
    			-- (from EV_APPLICATION_I)
    		require -- from EV_APPLICATION_I
    			an_accelerator_not_void: an_accelerator /= Void
    		ensure -- from EV_APPLICATION_I
    			contextual_help_accelerator_assigned: contextual_help_accelerator = an_accelerator
    			contextual_help_accelerator_complete: contextual_help_accelerator.actions.has (contextual_help_handler_procedure)

    	set_help_accelerator (an_accelerator: EV_ACCELERATOR)
    			-- Assign `an_accelerator' to help_accelerator
    			-- (from EV_APPLICATION_I)
    		require -- from EV_APPLICATION_I
    			an_accelerator_not_void: an_accelerator /= Void
    		ensure -- from EV_APPLICATION_I
    			help_accelerator_assigned: help_accelerator = an_accelerator
    			help_accelerator_complete: help_accelerator.actions.has (help_handler_procedure)

    	set_help_engine (an_engine: EV_HELP_ENGINE)
    			-- Assign `an_engine' to help_engine
    			-- (from EV_APPLICATION_I)
    		require -- from EV_APPLICATION_I
    			an_engine_not_void: an_engine /= Void
    		ensure -- from EV_APPLICATION_I
    			help_engine_set: help_engine = an_engine

    	set_locked_window (a_window: EV_WINDOW)
    			-- Set locked_window to `a_window'.
    			--
    			-- See `{EV_WINDOW}.lock_update' for more details
    			-- (from EV_APPLICATION_I)

    feature -- Event handling

    	accelerator_actions (an_accelerator: EV_ACCELERATOR): EV_NOTIFY_ACTION_SEQUENCE
    			-- Actions to be performed when `an_accelerator' key sequence is
    			-- pressed.
    			-- (from EV_APPLICATION_I)
    		ensure -- from EV_APPLICATION_I
    			not_void: Result /= Void

    	cancel_actions: EV_PND_ACTION_SEQUENCE
    			-- Actions to be performed when a PND is cancelled
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	create_cancel_actions: EV_PND_ACTION_SEQUENCE
    			-- Create a cancel action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_destroy_actions: EV_NOTIFY_ACTION_SEQUENCE
    			-- Create a destory action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_drop_actions: EV_PND_ACTION_SEQUENCE
    			-- Create a drop action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_focus_in_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET]]
    			-- Create a focus_in action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_focus_out_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET]]
    			-- Create a focus_out action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_idle_actions: EV_NOTIFY_ACTION_SEQUENCE
    			-- Create a idle action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_key_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, EV_KEY]]
    			-- Create a key_press action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_key_press_string_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, STRING_32]]
    			-- Create a key_press_string action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_key_release_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, EV_KEY]]
    			-- Create a key_release action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_mouse_wheel_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32]]
    			-- Create a mouse_wheel action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_pick_actions: EV_PND_ACTION_SEQUENCE
    			-- Create a pick action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_pnd_motion_actions: EV_PND_MOTION_ACTION_SEQUENCE
    			-- Create a pnd motion action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_pointer_button_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
    			-- Create a pointer_button_press action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_pointer_button_release_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
    			-- Create a pointer_button_release action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_pointer_double_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
    			-- Create a pointer_double_press action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_pointer_motion_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32]]
    			-- Create a pointer_motion action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_post_launch_actions: EV_NOTIFY_ACTION_SEQUENCE
    			-- Create a post_launch action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	create_theme_changed_actions: EV_NOTIFY_ACTION_SEQUENCE
    			-- Create a theme_changed action sequence.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_IMP)
    		require -- from  EV_APPLICATION_ACTION_SEQUENCES_I
    			True

    	destroy_actions: EV_NOTIFY_ACTION_SEQUENCE
    			-- Actions to be performed when current application is destroying.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)

    	drop_actions: EV_PND_ACTION_SEQUENCE
    			-- Actions to be performed when any "drop" occurs.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	focus_in_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET]]
    			-- Actions to be performed when getting focus.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	focus_out_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET]]
    			-- Actions to be performed when losing focus.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	idle_actions: EV_NOTIFY_ACTION_SEQUENCE
    			-- Actions to be performed when the application is otherwise idle.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	key_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, EV_KEY]]
    			-- Actions to be performed when a keyboard key is pressed.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	key_press_string_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, STRING_32]]
    			-- Actions to be performed when a keyboard press generates a displayable character.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	key_release_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, EV_KEY]]
    			-- Actions to be performed when a keyboard key is released.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	mouse_wheel_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32]]
    			-- Actions to be performed when mouse wheel is rotated.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	pick_actions: EV_PND_ACTION_SEQUENCE
    			-- Actions to be performed when any "pick" occurs.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	pnd_motion_actions: EV_PND_MOTION_ACTION_SEQUENCE
    			-- Actions to be performed when screen pointer is moved,
    			-- during a pick and drop.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	pointer_button_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
    			-- Actions to be performed when screen pointer button is pressed.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	pointer_button_release_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
    			-- Actions to be performed when screen pointer button is released.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	pointer_double_press_actions: ACTION_SEQUENCE [TUPLE [EV_WIDGET, INTEGER_32, INTEGER_32, INTEGER_32]]
    			-- Actions to be performed when screen pointer is double clicked.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	post_launch_actions: EV_NOTIFY_ACTION_SEQUENCE
    			-- Actions to be performed just after application launch.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    	theme_changed_actions: EV_NOTIFY_ACTION_SEQUENCE
    			-- Actions to be performed when operating system theme changed.
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)

    	uncaught_exception_actions: ACTION_SEQUENCE [TUPLE [EXCEPTION]]
    			-- Actions to be performed when an
    			-- action sequence called via callback
    			-- from the underlying toolkit raises an
    			-- exception that is not caught
    			-- (from EV_APPLICATION_ACTION_SEQUENCES_I)
    		ensure -- from EV_APPLICATION_ACTION_SEQUENCES_I
    			not_void: Result /= Void

    feature -- Events

    	do_once_idle_actions
    			-- Call once_idle_actions then wipe it out.
    			-- Remove do_once_idle_actions_agent from internal_idle_actions.
    			-- (from EV_APPLICATION_I)

    	do_once_idle_actions_agent: PROCEDURE [EV_APPLICATION_I, TUPLE]
    			-- Agent for do_once_idle_actions.
    			-- (from EV_APPLICATION_I)

    	do_once_on_idle (an_action: PROCEDURE [ANY, TUPLE])
    			-- Perform `an_action' one time only on idle.
    			-- (from EV_APPLICATION_I)

    	internal_idle_actions: EV_NOTIFY_ACTION_SEQUENCE
    			-- Actions to be performed when no events are in queue.
    			-- (from EV_APPLICATION_I)

    	once_idle_actions: EV_NOTIFY_ACTION_SEQUENCE
    			-- Actions to be preformed once when no events are in queue.
    			-- Wiped out after being called.
    			-- (from EV_APPLICATION_I)

    feature -- Output

    	io: STD_FILES
    			-- Handle to standard file setup
    			-- (from ANY)

    	out: STRING_8
    			-- New string containing terse printable representation
    			-- of current object
    			-- Was declared in ANY as synonym of tagged_out.
    			-- (from ANY)

    	print (some: ANY)
    			-- Write terse external representation of `some'
    			-- on standard output.
    			-- (from ANY)

    	frozen tagged_out: STRING_8
    			-- New string containing terse printable representation
    			-- of current object
    			-- Was declared in ANY as synonym of out.
    			-- (from ANY)

    feature -- Platform

    	operating_environment: OPERATING_ENVIRONMENT
    			-- Objects available from the operating system
    			-- (from ANY)

    feature -- Public constants

    	capture_heavy: INTEGER_32 is 1
    			-- The mouse [has been/should be] captured through
    			-- a call to `set_heavy_capture'

    	capture_normal: INTEGER_32 is 0
    			-- The mouse [has been/should be] captured through
    			-- a call to `set_capture'
    			--
    			-- Default value.

    feature -- Root window

    	silly_main_window: EV_INTERNAL_SILLY_WINDOW_IMP
    			-- Current main window of the application.
    		ensure -- from WEL_APPLICATION
    			result_not_void: Result /= Void
    			parent_main_window_is_void: Result.parent = Void

    feature -- Status reports

    	capture_type: INTEGER_32
    			-- Type of capture to use when capturing the mouse.
    			-- See constants Capture_xxxx at the end of the class.
    		ensure
    			valid_result: Result = capture_normal or Result = capture_heavy

    feature -- Tooltips

    	internal_tooltip: WEL_TOOLTIP
    			-- WEL_TOOLTIP used internally by current.
    		ensure
    			internal_tooltip_not_void: Result /= Void

    invariant
    	idle_action_mutex_valid: {PLATFORM}.is_thread_capable implies idle_action_mutex /= Void
    	duplicated_message_not_void: duplicated_message /= Void

    		-- from EV_APPLICATION_I
    	dockable_targets_not_void: is_usable implies dockable_targets /= Void
    	pnd_targets_not_void: is_usable implies pnd_targets /= Void
    	windows_not_void: is_usable implies windows /= Void
    	internal_idle_actions_not_void: is_usable implies internal_idle_actions /= Void
    	once_idle_actions_not_void: is_usable implies once_idle_actions /= Void
    	do_once_idle_actions_agent: is_usable implies do_once_idle_actions_agent /= Void

    		-- from EV_ANY_I
    	interface_coupled: is_usable implies interface /= Void and then interface.implementation = Current
    	base_make_called: base_make_called

    		-- from 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 -- class EV_APPLICATION_IMP