Reference Manual - 0.9.25
IDirectFBWindow   EnableEvents

Enable specific events to be sent to the window.

EnableEvents (
  IDirectFBWindow   * thiz,
  DFBWindowEventType   mask
);

The argument is a mask of events that will be set in the window's event mask. The default event mask is DWET_ALL.