List of all members
minxlib::key_press Struct Reference

Encapsulation of KeyPress events. More...

#include <event.hh>

Additional Inherited Members

- Public Member Functions inherited from minxlib::event
virtual ~event ()
 Event object clean-up. More...
 
- Static Public Member Functions inherited from minxlib::event
static boost::shared_ptr< eventcreate (const XEvent &e, Display *d)
 Factory method for creating events. More...
 
static void pythonize ()
 Export event class to minxlib Python module. More...
 
- Public Attributes inherited from minxlib::event
const int type
 Event type as specified in X11/X.h. More...
 
const unsigned long serial
 Last request number processed by X server. More...
 
const bool send_event
 True if triggered by SendEvent request. More...
 
const window target
 Event's target window. More...
 
- Public Attributes inherited from minxlib::key_event_details
const window root
 Target window's root window.
 
const window child
 Target's child that received event.
 
const Time time
 Millisecond timestamp of event.
 
const int y
 Mouse coords relative to target window.
 
const int y_root
 Mouse coords relative to root.
 
const unsigned int mask
 State of mouse buttons & modifier keys.
 
const unsigned int keycode
 Number representing physical key.
 
const std::string key
 String representation of key pressed.
 
const bool same_screen
 True if target and root on same screen.
 
- Protected Types inherited from minxlib::event
typedef event *(* cr_func )(const XEvent &, Display *)
 Signature of factory functions for creating events. More...
 
typedef void(* py_func )()
 Signature of Pythonize functions. More...
 
typedef factory_map< int,
cr_func, py_func
registry
 Registry of subclass object factories and Pythonize functions. More...
 
- Protected Member Functions inherited from minxlib::event
 event (const XEvent &e, Display *d, Window w)
 Create a wrapper object for an X event. More...
 
- Protected Member Functions inherited from minxlib::key_event_details
 key_event_details (const XKeyEvent &e, Display *d)
 Initialize keyboard event attributes. More...
 

Detailed Description

Encapsulation of KeyPress events.