[ Maverik Level 2 functions ]
mav_callbackResizeSet
mav_callbackResizeSet, mav_callbackResizeExec, mav_resizeDefault, mav_callbackMapSet, mav_callbackMapExec, mav_mapDefault, mav_callbackCrossingSet, mav_callbackCrossingExec, mav_callbackExposeSet, mav_callbackExposeExec, mav_exposeDefault
Summary
Window management callback functions.
Syntax
void mav_callbackResizeSet(MAV_window *w, MAV_callbackResizeFn fn);
int mav_callbackResizeExec(MAV_window *w, MAV_resizeEvent *re);
int mav_resizeDefault(MAV_object *o, MAV_resizeEvent *re);
void mav_callbackMapSet(MAV_window *w, MAV_callbackMapFn fn);
int mav_callbackMapExec(MAV_window *w, MAV_mapEvent *me);
int mav_mapDefault(MAV_object *o, MAV_mapEvent *me);
void mav_callbackCrossingSet(MAV_window *w, MAV_callbackCrossingFn fn);
int mav_callbackCrossingExec(MAV_window *w, MAV_crossingEvent *ce);
void mav_callbackExposeSet(MAV_window *w, MAV_callbackExposeFn fn);
int mav_callbackExposeExec(MAV_window *w, MAV_exposeEvent *ee);
int mav_exposeDefault(MAV_object *o, MAV_exposeEvent *ee);
Description
These are the callback functions which respond to window events, as follows:
- Window resizing:
mav_callbackResizeSet sets the callback function to
be executed when window w is resized to be fn. mav_callbackResizeExec
executes the callback function, passing it the resize event data re.
mav_resizeDefault is the default resize callback registered by the system
for a window when it is created.
- Window mapping (iconizing/restoring):
mav_callbackMapSet sets the
callback function to be executed when window w is mapped, to be fn.
mav_callbackMapExec executes the callback function, passing it the map
event data me. mav_mapDefault is the default resize callback registered
by the system for a window when it is created.
- Window crossing:
mav_callbackCrossingSet sets the callback function
to be executed when the mouse enters or leaves window w to be fn.
mav_callbackCrossingExec executes the callback function, passing it the
crossing event data ce.
- Window exposure:
mav_callbackExposeSet sets the callback function to
be executed when window w is exposed to be fn. mav_callbackExposeExec
executes the callback function, passing it the expose event data ee.
mav_exposeDefault is the default expose callback registered by the system
for a window when it is created.
Back to the index page.