WinDom: evnt_list.c File Reference

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

# evnt_list.c File Reference

`#include <stdlib.h>`
`#include <stdio.h>`
`#include "globals.h"`

## Functions
void * | mt_EvntFind (APPvar *app, WINDOW *win, int msg)
| find the first callback function bound to an event.
int | mt_EvntRemove (APPvar *app, WINDOW *win, int msg, void *proc)
| Remove one callback function bound to an event.
int | mt_CompEvntRemove (APPvar *app, COMPONENT *c, int msg, void *proc)
| TODO: DOCS.
int | mt_EvntDelete (APPvar *app, WINDOW *win, int msg)
| Delete an event.
int | mt_CompEvntDelete (APPvar *app, COMPONENT *c, int msg)
| TODO: DOCS.
void | mt_EvntClear (APPvar *app, WINDOW *win)
| removes all defined events of a window or of the application.
void | mt_CompEvntClear (APPvar *app, COMPONENT *c)
| TODO: DOCS.
int | mt_EvntDataAdd (APPvar *app, WINDOW *win, int msg, func_evntdata proc, void *data, int mode)
| Add a callback function to event and its data to a window or to the application.
int | mt_EvntAdd (APPvar *app, WINDOW *win, int msg, func_evnt proc, int mode)
| add a function to a GEM event without data
int | mt_EvntDataAttach (APPvar *app, WINDOW *win, int msg, func_evntdata proc, void *data)
| bind a function to a GEM event.
int | mt_EvntAttach (APPvar *app, WINDOW *win, int msg, func_evnt proc)
| bind a function to a GEM event without data.
int | mt_CompEvntDataAdd (APPvar *app, COMPONENT *c, short msg, func_comp_evntdata proc, void *data, int mode)
| TODO: DOCS.
int | mt_CompEvntAdd (APPvar *app, COMPONENT *c, short msg, func_comp_evnt proc, int mode)
| TODO: DOCS.
int | mt_CompEvntDataAttach (APPvar *app, COMPONENT *c, short msg, func_comp_evntdata proc, void *data)
| TODO: DOCS.
int | mt_CompEvntAttach (APPvar *app, COMPONENT *c, short msg, func_comp_evnt proc)
| TODO: DOCS.
void | mt_EvntEnable (APPvar *app, WINDOW *win, int msg)
| Enable all callback functions bound to an event.
void | mt_EvntDisable (APPvar *app, WINDOW *win, int msg)
| Disable all callback functions bound to an event.
void | mt_CompEvntEnable (APPvar *app, COMPONENT *c, int msg)
| Enable all callback functions bound to an event.
void | mt_CompEvntDisable (APPvar *app, COMPONENT *c, int msg)
| Disable all callback functions bound to an event.
int | mt_EvntExec (APPvar *app, WINDOW *w, short buff[8])
| Execute all functions bound to an event.
int | mt_CompEvntExec (APPvar *app, COMPONENT *p, long buff[8])
| TODO: DOCS.