EZ
Up Prev Next Contents


4.1.4 Enter Events

EZwgl provides a command for sending events to widgets.

void EZ_EnterEvent(EZ_Widget *widget, int eType, int *values)

This function enters the specified event to widget. For events of type EZ_BUTTON?_PRESS, EZ_BUTTON?_RELEASE or EZ_POINTER_MOTION, values, if not NULL is an array of two integers which specifies the pointer location. For EZ_KEY_PRESS event, values, if not NULL is a pointer to an integer which specifies the keycode for the key that is being pressed.

Warning: This function behave differently for 3DCanvas widget. See EZ_GLEnterEvent.


HTML Documentation Maintainance:Arturo Espinosa <arturo@nuclecu.unam.mx>