Encapsulation of DestroyNotify events. More...
#include <event.hh>
Public Attributes | |
const window | parent |
Parent window (for SubstructureNotify). More... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
virtual | ~event () |
Event object clean-up. More... | |
![]() | |
static boost::shared_ptr< event > | create (const XEvent &e, Display *d) |
Factory method for creating events. More... | |
static void | pythonize () |
Export event class to minxlib Python module. More... | |
![]() | |
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... | |
![]() | |
event (const XEvent &e, Display *d, Window w) | |
Create a wrapper object for an X event. More... | |
Encapsulation of DestroyNotify events.
These events are sent when windows are destroyed.
const window minxlib::destroy_notify::parent |
Parent window (for SubstructureNotify).
XDestroyWindowEvent::event refers to either the destroyed window or its parent depending on whether we chose StructureNotify or SubstructureNotify in the event mask. Minx usually cares about substructure notifications for root windows. Thus, we interpret the XDestroyWindowEvent::event value as the target window's parent.