wxMouseEvent

See external documentation: wxMouseEvent.

See external documentation: wxMouseEvent.

Use wxEvtHandler:connect/3 with EventType:

left_down, left_up, middle_down, middle_up, right_down, right_up, motion, enter_window, leave_window, left_dclick, middle_dclick, right_dclick, mousewheel

See also the message variant #wxMouse{} event record type.

This class is derived (and can use functions) from:
wxEvent

Types


wxMouseEvent() = wx:wx_object()

Functions


altDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

button(This, But) -> boolean()

  • This = wxMouseEvent()
  • But = integer()

See external documentation.

buttonDClick(This) -> boolean()

  • This = wxMouseEvent()

Equivalent to buttonDClick(This, []).

buttonDClick(This, Option::[Option]) -> boolean()

  • This = wxMouseEvent()
  • Option = {but, integer()}

See external documentation.

buttonDown(This) -> boolean()

  • This = wxMouseEvent()

Equivalent to buttonDown(This, []).

buttonDown(This, Option::[Option]) -> boolean()

  • This = wxMouseEvent()
  • Option = {but, integer()}

See external documentation.

buttonUp(This) -> boolean()

  • This = wxMouseEvent()

Equivalent to buttonUp(This, []).

buttonUp(This, Option::[Option]) -> boolean()

  • This = wxMouseEvent()
  • Option = {but, integer()}

See external documentation.

cmdDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

controlDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

dragging(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

entering(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

getButton(This) -> integer()

  • This = wxMouseEvent()

See external documentation.

getPosition(This) -> {X::integer(), Y::integer()}

  • This = wxMouseEvent()

See external documentation.

getLogicalPosition(This, Dc) -> {X::integer(), Y::integer()}

  • This = wxMouseEvent()
  • Dc = wxDC() (see module wxDC)

See external documentation.

getLinesPerAction(This) -> integer()

  • This = wxMouseEvent()

See external documentation.

getWheelRotation(This) -> integer()

  • This = wxMouseEvent()

See external documentation.

getWheelDelta(This) -> integer()

  • This = wxMouseEvent()

See external documentation.

getX(This) -> integer()

  • This = wxMouseEvent()

See external documentation.

getY(This) -> integer()

  • This = wxMouseEvent()

See external documentation.

isButton(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

isPageScroll(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

leaving(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

leftDClick(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

leftDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

leftIsDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

leftUp(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

metaDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

middleDClick(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

middleDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

middleIsDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

middleUp(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

moving(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

rightDClick(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

rightDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

rightIsDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

rightUp(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.

shiftDown(This) -> boolean()

  • This = wxMouseEvent()

See external documentation.