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

wxErlang
Reference Manual
Version 0.99.2


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

Types:

This = wxMouseEvent()

button(This, But) -> boolean()

Types:

This = wxMouseEvent()
But = integer()

buttonDClick(This) -> boolean()

Types:

This = wxMouseEvent()

Equivalent to buttonDClick(This, []).

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

Types:

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

buttonDown(This) -> boolean()

Types:

This = wxMouseEvent()

Equivalent to buttonDown(This, []).

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

Types:

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

buttonUp(This) -> boolean()

Types:

This = wxMouseEvent()

Equivalent to buttonUp(This, []).

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

Types:

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

cmdDown(This) -> boolean()

Types:

This = wxMouseEvent()

controlDown(This) -> boolean()

Types:

This = wxMouseEvent()

dragging(This) -> boolean()

Types:

This = wxMouseEvent()

entering(This) -> boolean()

Types:

This = wxMouseEvent()

getButton(This) -> integer()

Types:

This = wxMouseEvent()

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

Types:

This = wxMouseEvent()

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

Types:

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

getLinesPerAction(This) -> integer()

Types:

This = wxMouseEvent()

getWheelRotation(This) -> integer()

Types:

This = wxMouseEvent()

getWheelDelta(This) -> integer()

Types:

This = wxMouseEvent()

getX(This) -> integer()

Types:

This = wxMouseEvent()

getY(This) -> integer()

Types:

This = wxMouseEvent()

isButton(This) -> boolean()

Types:

This = wxMouseEvent()

isPageScroll(This) -> boolean()

Types:

This = wxMouseEvent()

leaving(This) -> boolean()

Types:

This = wxMouseEvent()

leftDClick(This) -> boolean()

Types:

This = wxMouseEvent()

leftDown(This) -> boolean()

Types:

This = wxMouseEvent()

leftIsDown(This) -> boolean()

Types:

This = wxMouseEvent()

leftUp(This) -> boolean()

Types:

This = wxMouseEvent()

metaDown(This) -> boolean()

Types:

This = wxMouseEvent()

middleDClick(This) -> boolean()

Types:

This = wxMouseEvent()

middleDown(This) -> boolean()

Types:

This = wxMouseEvent()

middleIsDown(This) -> boolean()

Types:

This = wxMouseEvent()

middleUp(This) -> boolean()

Types:

This = wxMouseEvent()

moving(This) -> boolean()

Types:

This = wxMouseEvent()

rightDClick(This) -> boolean()

Types:

This = wxMouseEvent()

rightDown(This) -> boolean()

Types:

This = wxMouseEvent()

rightIsDown(This) -> boolean()

Types:

This = wxMouseEvent()

rightUp(This) -> boolean()

Types:

This = wxMouseEvent()

shiftDown(This) -> boolean()

Types:

This = wxMouseEvent()