Programming guideline of WinDom
- NAME
-
EvntDataAdd - add a function with data in a GEM event bind.
- PROTOTYPAGE
-
int EvntDataAdd( WINDOW *win, int ev, void *proc, void
*data, int mode);
- PARAMETERS
-
- win:
- window targeted or NULL,
- ev:
- event to bind (see event list),
- proc:
- function address to add,
- mode:
-
- EV_TOP:
- add the function in top position,
- EV_BOT:
- add the function in bottom position,
- data:
- user data pointer.
- DESCRIPTION
-
This function is similar to EvntAdd() except it allows to
bind an user data pointer with the function. The data is read by
the binded function as a second parameter (see EvntDataAttach()
manual). For detailled description, see EvntAddr().
- SEE ALSO
-
EvntAttach(), EvntAdd(), EvntDataAttach(), EvntDelete(),
EvntExec(), EvntFind(), EvntWindom().