Class mrptEventWindowChar

Inheritance Relationships

Base Type

  • public mrpt::system::mrptEvent

Class Documentation

class mrptEventWindowChar : public mrpt::system::mrptEvent

An event sent by a window upon a char pressed by the user.

IMPORTANTE NOTICE: Event handlers in your observer class will be invoked from the wxWidgets internal MRPT thread, so all your code in the handler must be thread safe.

Public Functions

inline mrptEventWindowChar(CBaseGUIWindow *obj, int _char_code, mrptKeyModifier _key_mod)

Public Members

CBaseGUIWindow *source_object
int char_code

The virtual key code, as defined in <mrpt/gui/keycodes.h> (a replication of wxWidgets key codes).

mrptKeyModifier key_modifiers

Modifiers (Shift, Control, etc…)

Protected Functions

inline virtual void do_nothing() override

Just to allow this class to be polymorphic