wxErlang

Reference Manual

Version 1.8.1

Table of Contents

wxMouseEvent

Module

wxMouseEvent

Module Summary

See external documentation: wxMouseEvent.

Description

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

DATA TYPES

wxMouseEvent()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

Exports

altDown(This) -> boolean()

Types

button(This, But) -> boolean()

Types

But = integer()

buttonDClick(This) -> boolean()

Types

Equivalent to buttonDClick(This, []).

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

Types

Option = {but, integer()}

buttonDown(This) -> boolean()

Types

Equivalent to buttonDown(This, []).

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

Types

Option = {but, integer()}

buttonUp(This) -> boolean()

Types

Equivalent to buttonUp(This, []).

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

Types

Option = {but, integer()}

cmdDown(This) -> boolean()

Types

controlDown(This) -> boolean()

Types

dragging(This) -> boolean()

Types

entering(This) -> boolean()

Types

getButton(This) -> integer()

Types

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

Types

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

Types

getLinesPerAction(This) -> integer()

Types

getWheelRotation(This) -> integer()

Types

getWheelDelta(This) -> integer()

Types

getX(This) -> integer()

Types

getY(This) -> integer()

Types

isButton(This) -> boolean()

Types

isPageScroll(This) -> boolean()

Types

leaving(This) -> boolean()

Types

leftDClick(This) -> boolean()

Types

leftDown(This) -> boolean()

Types

leftIsDown(This) -> boolean()

Types

leftUp(This) -> boolean()

Types

metaDown(This) -> boolean()

Types

middleDClick(This) -> boolean()

Types

middleDown(This) -> boolean()

Types

middleIsDown(This) -> boolean()

Types

middleUp(This) -> boolean()

Types

moving(This) -> boolean()

Types

rightDClick(This) -> boolean()

Types

rightDown(This) -> boolean()

Types

rightIsDown(This) -> boolean()

Types

rightUp(This) -> boolean()

Types

shiftDown(This) -> boolean()

Types