previous up next     contents index
Next: wxMediaBuffer: wxObject Up: wxKeymap: wxObject Previous: wxKeymap::SetGrabKeyFunction

wxMousemap::SetGrabMouseFunction

void SetGrabMouseFunction (wxGrabMouseFunction f, void *data)

This is the same as SetGrabKeyFunction, but for mouse events instead of keyboard events. The form of the callback function f is:

typedef Bool (*wxGrabMouseFunction) (char *str, wxKeymap *km, wxMediaBuffer *media, wxMouseEvent &event, void *data)

Mouse grab callback functions are de-installed with RemoveGrabMouseFunction.



PLT