{
init_event_receiver_type ();
init_event_type ();
- DEFINE_GSUBR ("event-gui-caller", 1, 0, 0, event_gui_caller);
- DEFINE_GSUBR ("event-gui-type", 1, 0, 0, event_gui_type);
- DEFINE_GSUBR ("event-key-input-key", 1, 0, 0, event_key_input_key);
- DEFINE_GSUBR ("event-key-input-pressed", 1, 0, 0, event_key_input_pressed);
- DEFINE_GSUBR ("event-type", 1, 0, 0, event_type);
+ DEFINE_GSUBR ("get-event-gui-caller", 1, 0, 0, get_event_gui_caller);
+ DEFINE_GSUBR ("get-event-gui-type", 1, 0, 0, get_event_gui_type);
+ DEFINE_GSUBR ("get-event-key-input-key", 1, 0, 0, get_event_key_input_key);
+ DEFINE_GSUBR ("get-event-key-input-pressed", 1, 0, 0, get_event_key_input_pressed);
+ DEFINE_GSUBR ("get-event-type", 1, 0, 0, get_event_type);
DEFINE_GSUBR ("make-event-receiver", 1, 0, 0, make_event_receiver);
}
wrap_event, unwrap_event);
SCM
- event_gui_caller (SCM event)
+ get_event_gui_caller (SCM event)
{
return wrap_gui_element (unwrap_event (event)->GUIEvent.Caller);
}
SCM
- event_gui_type (SCM event)
+ get_event_gui_type (SCM event)
{
return scm_from_gui_event_type (unwrap_event (event)->GUIEvent.EventType);
}
SCM
- event_key_input_key (SCM event)
+ get_event_key_input_key (SCM event)
{
return scm_from_key_code (unwrap_event (event)->KeyInput.Key);
}
SCM
- event_key_input_pressed (SCM event)
+ get_event_key_input_pressed (SCM event)
{
return scm_from_bool (unwrap_event (event)->KeyInput.PressedDown);
}
SCM
- event_type (SCM event)
+ get_event_type (SCM event)
{
return scm_from_event_type (unwrap_event (event)->EventType);
}
event_p, wrap_event, unwrap_event);
SCM
- event_gui_caller (SCM event);
+ get_event_gui_caller (SCM event);
SCM
- event_gui_type (SCM event);
+ get_event_gui_type (SCM event);
SCM
- event_key_input_key (SCM event);
+ get_event_key_input_key (SCM event);
SCM
- event_key_input_pressed (SCM event);
+ get_event_key_input_pressed (SCM event);
SCM
- event_type (SCM event);
+ get_event_type (SCM event);
SCM
make_event_receiver (SCM proc_on_event);