Control.MouseFilter/mouseFilter - multiple declarations

Function Control.mouseFilter

Controls whether the control will be able to receive mouse button input events through guiInput and how these events should be handled. Also controls whether the control can receive the mouseEntered, and mouseExited signals. See the constants to learn what each does.

Control.MouseFilter mouseFilter() nothrow @property @nogc;

void mouseFilter (
  long v
) nothrow @property @nogc;

Enum Control.MouseFilter

enum MouseFilter : int { ... }

Enum members

NameDescription
mouseFilterIgnore The control will not receive mouse button input events through guiInput. The control will also not receive the mouseEntered nor mouseExited signals. This will not block other controls from receiving these events or firing the signals. Ignored events will not be handled automatically.
mouseFilterPass The control will receive mouse button input events through guiInput if clicked on. And the control will receive the mouseEntered and mouseExited signals. If this control does not handle the event, the parent control (if any) will be considered, and so on until there is no more parent control to potentially handle it. This also allows signals to fire in other controls. Even if no control handled it at all, the event will still be handled automatically, so unhandled input will not be fired.
mouseFilterStop The control will receive mouse button input events through guiInput if clicked on. And the control will receive the mouseEntered and mouseExited signals. These events are automatically marked as handled, and they will not propagate further to other controls. This also results in blocking signals in other controls.