User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.6

Expand All
Contract All

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, nc_left_down, nc_left_up, nc_middle_down, nc_middle_up, nc_right_down, nc_right_up, nc_motion, nc_enter_window, nc_leave_window, nc_left_dclick, nc_middle_dclick, nc_right_dclick

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::wxMouseEvent()) -> bool()

See external documentation.

button(This::wxMouseEvent(), But::integer()) -> bool()

See external documentation.

buttonDClick(This::wxMouseEvent()) -> bool()

Equivalent to buttonDClick(This, []).

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

Types:

Option = {but, integer()}

See external documentation.

buttonDown(This::wxMouseEvent()) -> bool()

Equivalent to buttonDown(This, []).

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

Types:

Option = {but, integer()}

See external documentation.

buttonUp(This::wxMouseEvent()) -> bool()

Equivalent to buttonUp(This, []).

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

Types:

Option = {but, integer()}

See external documentation.

cmdDown(This::wxMouseEvent()) -> bool()

See external documentation.

controlDown(This::wxMouseEvent()) -> bool()

See external documentation.

dragging(This::wxMouseEvent()) -> bool()

See external documentation.

entering(This::wxMouseEvent()) -> bool()

See external documentation.

getButton(This::wxMouseEvent()) -> integer()

See external documentation.

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

See external documentation.

getLogicalPosition(This::wxMouseEvent(), Dc::wxDC() (see module wxDC)) -> {X::integer(), Y::integer()}

See external documentation.

getLinesPerAction(This::wxMouseEvent()) -> integer()

See external documentation.

getWheelRotation(This::wxMouseEvent()) -> integer()

See external documentation.

getWheelDelta(This::wxMouseEvent()) -> integer()

See external documentation.

getX(This::wxMouseEvent()) -> integer()

See external documentation.

getY(This::wxMouseEvent()) -> integer()

See external documentation.

isButton(This::wxMouseEvent()) -> bool()

See external documentation.

isPageScroll(This::wxMouseEvent()) -> bool()

See external documentation.

leaving(This::wxMouseEvent()) -> bool()

See external documentation.

leftDClick(This::wxMouseEvent()) -> bool()

See external documentation.

leftDown(This::wxMouseEvent()) -> bool()

See external documentation.

leftIsDown(This::wxMouseEvent()) -> bool()

See external documentation.

leftUp(This::wxMouseEvent()) -> bool()

See external documentation.

metaDown(This::wxMouseEvent()) -> bool()

See external documentation.

middleDClick(This::wxMouseEvent()) -> bool()

See external documentation.

middleDown(This::wxMouseEvent()) -> bool()

See external documentation.

middleIsDown(This::wxMouseEvent()) -> bool()

See external documentation.

middleUp(This::wxMouseEvent()) -> bool()

See external documentation.

moving(This::wxMouseEvent()) -> bool()

See external documentation.

rightDClick(This::wxMouseEvent()) -> bool()

See external documentation.

rightDown(This::wxMouseEvent()) -> bool()

See external documentation.

rightIsDown(This::wxMouseEvent()) -> bool()

See external documentation.

rightUp(This::wxMouseEvent()) -> bool()

See external documentation.

shiftDown(This::wxMouseEvent()) -> bool()

See external documentation.