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

wxErlang
Reference Manual
Version 0.98.5


Expand All
Contract All

Table of Contents

wxKeyEvent

MODULE

wxKeyEvent

MODULE SUMMARY

See external documentation: wxKeyEvent.

DESCRIPTION

See external documentation: wxKeyEvent.

Use wxEvtHandler:connect/3 with EventType:

char, char_hook, key_down, key_up

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

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

DATA TYPES

wxKeyEvent()

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

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

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

getKeyCode(This::wxKeyEvent()) -> integer()

getModifiers(This::wxKeyEvent()) -> integer()

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

getRawKeyCode(This::wxKeyEvent()) -> integer()

getRawKeyFlags(This::wxKeyEvent()) -> integer()

getUnicodeKey(This::wxKeyEvent()) -> integer()

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

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

hasModifiers(This::wxKeyEvent()) -> bool()

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

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