Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.4


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()

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

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

Equivalent to buttonDClick(This, []).

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

Types:

Option = {but, integer()}

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

Equivalent to buttonDown(This, []).

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

Types:

Option = {but, integer()}

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

Equivalent to buttonUp(This, []).

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

Types:

Option = {but, integer()}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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