-
class
Event
(Return to index)
-
user input events.
Type:
Derived Classes
Include file:
Description: in reference manual.
Public:
-
Event ()
-
Event (const Event&)
- void
GetAbsolute (IntCoord&, IntCoord&)
- void
GetAbsolute (World*&, IntCoord&, IntCoord&)
- EventRep*
Rep () const
- unsigned char
button
- virtual boolean
capslock_is_down () const
- virtual boolean
control_is_down () const
- virtual Display*
display () const
- virtual void
display (Display*)
-
enum
{ undefined, motion, down, up, key, selection_notify, other_event }
-
enum
{ none, any, left, middle, right, other_button }
- EventType
eventType
- static event_tracker_ptr
event_tracker ()
- static void
event_tracker (event_tracker_ptr ptr)
- virtual void
grab (Handler*) const
- virtual Handler*
grabber () const
- virtual void
handle ()
- virtual Handler*
handler () const
- virtual boolean
is_grabbing (Handler*) const
- virtual unsigned char
keycode () const
- virtual unsigned int
keymask () const
- char*
keystring
- virtual unsigned long
keysym () const
- virtual boolean
left_is_down () const
- unsigned short
len
- virtual unsigned int
mapkey (char*, unsigned int len) const
- virtual boolean
meta_is_down () const
- virtual boolean
middle_is_down () const
- virtual Event&
operator = (const Event&)
- virtual boolean
pending () const
- virtual EventButton
pointer_button () const
- virtual Coord
pointer_root_x () const
- virtual Coord
pointer_root_y () const
- virtual Coord
pointer_x () const
- virtual Coord
pointer_y () const
- virtual void
poll ()
- virtual void
read ()
- virtual boolean
read (long sec, long usec)
- EventRep*
rep () const
- virtual boolean
right_is_down () const
- virtual boolean
shift_is_down () const
- Interactor*
target
- virtual unsigned long
time () const
- unsigned long
timestamp
- virtual EventType
type () const
- virtual void
ungrab (Handler*) const
- virtual void
unread ()
- virtual Window*
window () const
- virtual void
window (Window*)
- IntCoord
x, y
- virtual
~Event ()
Protected:
Friend methods:
(more documentation)