EvntDataAttach - bind a function with data to a GEM event.
PROTOTYPAGE
int EvntDataAttach( WINDOW *win, int ev, void *proc, void
*data);
PARAMETERS
win:
window targeted or NULL,
ev:
event to bind (see event list),
proc:
function address to bind,
data:
user data pointer.
DESCRIPTION
This function is similar to EvntAttach(). The difference is
EvntDataAttach() binds a local pointer data to the object. This
data is read by the binded function as a second parameter. The
binded has the following prototype :