#include <uevent.hpp>
Inheritance diagram for ubit::UKeyEvent:
Public Member Functions | |
virtual UKeyEvent * | keyEvent () |
virtual unsigned short | getKeyChar () const |
returns the typed character (in ISO Latin). | |
virtual unsigned long | getKeyCode () const |
returns the X KeySym. | |
virtual void | setKeyChar (unsigned short) |
changes the typed character (in ISO Latin). | |
virtual void | setKeyCode (unsigned long) |
changes the X KeySym. | |
virtual int | decodeKey () |
UKeyEvent (UEventFlow *f, UView *v, USysEvent e, UTime t, const UCond &c) |
void ubit::UKeyEvent::setKeyChar | ( | unsigned | short | ) | [virtual] |
changes the typed character (in ISO Latin).
Note: this can be useful to hide actual text (for a password for instance).