class VISION
Summary
Overview
creation features
exported features
All *_connect functions, used only in WHEN_* classes.
All *_signal functions, used only in WHEN_* classes.
display_width: INTEGER_32
writable attribute
display_height: INTEGER_32
writable attribute
loop_stack: LOOP_STACK
writable attribute
The loop_stack gives possibility to add some JOB, break current events loop...
start
effective procedure
Start to run current events loop.
new_loop
effective procedure
You need new loop if you want modal window.
default_draw_kit: DRAW_KIT
once function
font_manager: FONT_MANAGER
once function
last_character: INTEGER_32
effective function
return unicode character.
last_key: INTEGER_32
effective function
key_symbol (name: STRING): INTEGER_32
effective function
pointer_x: INTEGER_32
effective function
retrun pointer x coordinate relative to the window who received the event.
pointer_y: INTEGER_32
effective function
retrun pointer y coordinate relative to the window who received the event.
pointer_x_root: INTEGER_32
effective function
retrun pointer x coordinate relative to the screen.
pointer_y_root: INTEGER_32
effective function
retrun pointer y coordinate relative to the screen.
event_time: INTEGER_32
effective function
return the date the event occured.
expose_area: RECT
effective function
return the rectangular area the expose event is relative to.
border_width: INTEGER_32
effective function
TODO: suppress ?
is_left_down: BOOLEAN
effective function
Is mouse left button down ? NOTE: only access this information if last event is pointer_enter or pointer_leave.
is_middle_down: BOOLEAN
effective function
Is mouse middle button down ? NOTE: only access this information if last event is pointer_enter or pointer_leave.
is_right_down: BOOLEAN
effective function
Is mouse right button down ? NOTE: only access this information if last event is pointer_enter or pointer_leave.
current_event_type: INTEGER_32
effective function
Needed for some assertion.
current_event_native_type: INTEGER_32
effective function
Real event type for extension devices
when_focus_in (p: PROCEDURE[TUPLE])
effective procedure
when_focus_in_signal: SIGNAL_0
effective function
when_focus_out (p: PROCEDURE[TUPLE])
effective procedure
when_focus_out_signal: SIGNAL_0
effective function
preprocess_left_down (p: PROCEDURE[TUPLE])
effective procedure
root_window: ROOT_WINDOW
once function
register (s: SENSITIVE)
effective procedure
Each widget who need to receive events has to be registred.
unregister (s: SENSITIVE)
effective procedure
TODO: how to manage destroy ?
key_down_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
key_up_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
pointer_enter_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
pointer_leave_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
expose_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
unmapped_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
mapped_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
left_down_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
left_up_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
middle_down_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
middle_up_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
right_down_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
right_up_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
wheel_up_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
wheel_down_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
fully_visible_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
partially_visible_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
not_visible_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
close_requested_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE])
effective procedure
pointer_move_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE 2[INTEGER_32, INTEGER_32]])
effective procedure
geometry_change_event_connect (s: SENSITIVE, p: PROCEDURE[TUPLE 4[INTEGER_32, INTEGER_32, INTEGER_32, INTEGER_32]])
effective procedure
key_down_signal (s: SENSITIVE): SIGNAL_0
effective function
key_up_signal (s: SENSITIVE): SIGNAL_0
effective function
pointer_enter_signal (s: SENSITIVE): SIGNAL_0
effective function
pointer_leave_signal (s: SENSITIVE): SIGNAL_0
effective function
expose_signal (s: SENSITIVE): SIGNAL_0
effective function
unmapped_signal (s: SENSITIVE): SIGNAL_0
effective function
mapped_signal (s: SENSITIVE): SIGNAL_0
effective function
left_down_signal (s: SENSITIVE): SIGNAL_0
effective function
left_up_signal (s: SENSITIVE): SIGNAL_0
effective function
middle_down_signal (s: SENSITIVE): SIGNAL_0
effective function
middle_up_signal (s: SENSITIVE): SIGNAL_0
effective function
right_down_signal (s: SENSITIVE): SIGNAL_0
effective function
right_up_signal (s: SENSITIVE): SIGNAL_0
effective function
wheel_up_signal (s: SENSITIVE): SIGNAL_0
effective function
wheel_down_signal (s: SENSITIVE): SIGNAL_0
effective function
fully_visible_signal (s: SENSITIVE): SIGNAL_0
effective function
partially_visible_signal (s: SENSITIVE): SIGNAL_0
effective function
not_visible_signal (s: SENSITIVE): SIGNAL_0
effective function
close_requested_signal (s: SENSITIVE): SIGNAL_0
effective function
pointer_move_signal (s: SENSITIVE): SIGNAL_2[INTEGER_32, INTEGER_32]
effective function
geometry_change_signal (s: SENSITIVE): SIGNAL_4[INTEGER_32, INTEGER_32, INTEGER_32, INTEGER_32]
effective function