29 #ifndef Pt_Forms_KeyEvent_h
30 #define Pt_Forms_KeyEvent_h
32 #include <Pt/Forms/Api.h>
33 #include <Pt/Forms/Widget.h>
34 #include <Pt/Forms/Key.h>
36 #include <Pt/String.h>
49 class PT_FORMS_API
KeyEvent :
public Pt::BasicEvent<KeyEvent>
73 : _widgetId_( widget.id() )
98 _widgetId_ = widget ? widget->
id() : 0;
119 return _action == Press;
135 return _action == Release;
Core module.
Definition: Allocator.h:33
Unicode character type.
Definition: String.h:67
uint_type uint64_t
Unsigned 64-bit integer type.
Definition: Api-Types.h:62