wxKeyEvent(3)

MODULE
wxKeyEvent - See external documentation: wxKeyEvent.

DESCRIPTION

See external documentation: wxKeyEvent <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventaltdown>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventcmddown>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventcontroldown>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetkeycode>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetmodifiers>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetposition>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetrawkeycode>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetrawkeyflags>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetunicodekey>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetx>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgety>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventhasmodifiers>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventmetadown>.

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

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventshiftdown>.