The keycode (a number representing a physical key on the keyboard) of the key which was pressed.
If same_screen
is true, this is the X coordinate relative to the event
window's origin. Otherwise, event_x
will be set to zero.
If same_screen
is true, this is the Y coordinate relative to the event
window's origin. Otherwise, event_y
will be set to zero.
The root window of child
.
The X coordinate of the pointer relative to the root
window at the time of
the event.
The Y coordinate of the pointer relative to the root
window at the time of
the event.
Whether the event
window is on the same screen as the root
window.
The logical state of the pointer buttons and modifier keys just prior to the event.
Time when the event was generated (in milliseconds).
The keycode (a number representing a physical key on the keyboard) of the key which was pressed.
If same_screen
is true, this is the X coordinate relative to the event
window's origin. Otherwise, event_x
will be set to zero.
If same_screen
is true, this is the Y coordinate relative to the event
window's origin. Otherwise, event_y
will be set to zero.
The root window of child
.
The X coordinate of the pointer relative to the root
window at the time of
the event.
The Y coordinate of the pointer relative to the root
window at the time of
the event.
Whether the event
window is on the same screen as the root
window.
The logical state of the pointer buttons and modifier keys just prior to the event.
Time when the event was generated (in milliseconds).
NOT YET DOCUMENTED
This event represents a ClientMessage, sent by another X11 client. An example
is a client sending the _NET_WM_STATE
ClientMessage to the root window
to indicate the fullscreen window state, effectively requesting that the window
manager puts it into fullscreen mode.
See:
An atom which indicates how the data should be interpreted by the receiving client.
The data itself (20 bytes max).
Specifies how to interpret data
. Can be either 8, 16 or 32.
The colormap which is changed, installed or uninstalled. This is XCB_NONE
when the colormap is changed by a call to FreeColormap
.
The window whose associated colormap is changed, installed or uninstalled.
If XCB_NONE
, the window
is on the bottom of the stack with respect to
sibling windows. However, if set to a sibling window, the window
is placed on
top of this sibling window.
The border width of window
.
The reconfigured window or its parent, depending on whether StructureNotify
or SubstructureNotify
was selected.
The inside height of window
, not including the border.
Window managers should ignore this window if override_redirect
is 1.
The inside width of window
, not including the border.
The window whose size, position, border, and/or stacking order was changed.
The X coordinate of the upper-left outside corner of window
, relative to the
parent window's origin.
The Y coordinate of the upper-left outside corner of window
, relative to the
parent window's origin.
the pointer is in a different window
If the event
window has subwindows and the final pointer position is in one
of them, then child
is set to that subwindow, XCB_WINDOW_NONE
otherwise.
The window on which the event was generated.
If event
is on the same screen as root
, this is the pointer X coordinate
relative to the event window's origin.
If event
is on the same screen as root
, this is the pointer Y coordinate
relative to the event window's origin.
The root window for the final cursor position.
The pointer X coordinate relative to root
's origin at the time of the event.
The pointer Y coordinate relative to root
's origin at the time of the event.
NOT YET DOCUMENTED
The amount of Expose
events following this one. Simple applications that do
not want to optimize redisplay by distinguishing between subareas of its window
can just ignore all Expose events with nonzero counts and perform full
redisplays on events with zero counts.
The height of the exposed rectangle.
The width of the exposed rectangle.
The exposed (damaged) window.
The X coordinate of the left-upper corner of the exposed rectangle, relative to
the window
's origin.
The Y coordinate of the left-upper corner of the exposed rectangle, relative to
the window
's origin.
NOT YET DOCUMENTED
The window on which the focus event was generated. This is the window used by the X server to report the event.
NOT YET DOCUMENTED
The window on which the focus event was generated. This is the window used by the X server to report the event.
generic event (with length)
The border width (in pixels).
The depth of the drawable (bits per pixel for the object).
The height of drawable
.
Root window of the screen containing drawable
.
The width of drawable
.
The X coordinate of drawable
. If drawable
is a window, the coordinate
specifies the upper-left outer corner relative to its parent's origin. If
drawable
is a pixmap, the X coordinate is always 0.
The Y coordinate of drawable
. If drawable
is a window, the coordinate
specifies the upper-left outer corner relative to its parent's origin. If
drawable
is a pixmap, the Y coordinate is always 0.
The actual type of the property (an atom).
The number of bytes remaining to be read in the property if a partial read was performed.
Specifies whether the data should be viewed as a list of 8-bit, 16-bit, or 32-bit quantities. Possible values are 8, 16, and 32. This information allows the X server to correctly perform byte-swap operations as necessary.
The length of value. You should use the corresponding accessor instead of this field.
The current selection owner window.
Set of events all people have interest in.
Value to be used when restoring planes.
Planes to be preserved if possible.
Color map to be associated with window.
Set of events that should not propagate.
Window managers should ignore this window if override_redirect
is 1.
Boolean, should bits under be saved?
The associated visual structure of window
.
My event mask.
The keycode (a number representing a physical key on the keyboard) of the key which was pressed.
If same_screen
is true, this is the X coordinate relative to the event
window's origin. Otherwise, event_x
will be set to zero.
If same_screen
is true, this is the Y coordinate relative to the event
window's origin. Otherwise, event_y
will be set to zero.
The root window of child
.
The X coordinate of the pointer relative to the root
window at the time of
the event.
The Y coordinate of the pointer relative to the root
window at the time of
the event.
Whether the event
window is on the same screen as the root
window.
The logical state of the pointer buttons and modifier keys just prior to the event.
Time when the event was generated (in milliseconds).
The keycode (a number representing a physical key on the keyboard) of the key which was pressed.
If same_screen
is true, this is the X coordinate relative to the event
window's origin. Otherwise, event_x
will be set to zero.
If same_screen
is true, this is the Y coordinate relative to the event
window's origin. Otherwise, event_y
will be set to zero.
The root window of child
.
The X coordinate of the pointer relative to the root
window at the time of
the event.
The Y coordinate of the pointer relative to the root
window at the time of
the event.
Whether the event
window is on the same screen as the root
window.
The logical state of the pointer buttons and modifier keys just prior to the event.
Time when the event was generated (in milliseconds).
the pointer is in a different window
If the event
window has subwindows and the final pointer position is in one
of them, then child
is set to that subwindow, XCB_WINDOW_NONE
otherwise.
The window on which the event was generated.
If event
is on the same screen as root
, this is the pointer X coordinate
relative to the event window's origin.
If event
is on the same screen as root
, this is the pointer Y coordinate
relative to the event window's origin.
The root window for the final cursor position.
The pointer X coordinate relative to root
's origin at the time of the event.
The pointer Y coordinate relative to root
's origin at the time of the event.
The number of font names.
flag if all characters have nonzero size
char to print for undefined character
baseline to top edge of raster
baseline to bottom edge of raster
maximum bounds over all existing char
last character
minimum bounds over all existing char
first character
The number of matched font names.
how many properties there are
An indication of how many more fonts will be returned. This is only a hint and may be larger or smaller than the number of fonts actually returned. A zero value does not guarantee that no more fonts will be returned.
keyboard mapping changed
The keycode (a number representing a physical key on the keyboard) of the key which was pressed.
If same_screen
is true, this is the X coordinate relative to the event
window's origin. Otherwise, event_x
will be set to zero.
If same_screen
is true, this is the Y coordinate relative to the event
window's origin. Otherwise, event_y
will be set to zero.
The root window of child
.
The X coordinate of the pointer relative to the root
window at the time of
the event.
The Y coordinate of the pointer relative to the root
window at the time of
the event.
Whether the event
window is on the same screen as the root
window.
The logical state of the pointer buttons and modifier keys just prior to the event.
Time when the event was generated (in milliseconds).
The first error code, if any.
The first event code, if any.
The major opcode for requests.
Whether the extension is present on this X11 server.
flag if all characters have nonzero size
char to print for undefined character
baseline to top edge of raster
baseline to bottom edge of raster
maximum bounds over all existing char
last character
minimum bounds over all existing char
first character
how many properties there are
The child window containing the pointer, if any, if same_screen
is true. If
same_screen
is false, XCB_NONE
is returned.
The current logical state of the modifier keys and the buttons. Note that the logical state of a device (as seen by means of the protocol) may lag the physical state if device event processing is frozen.
The root window the pointer is logically on.
The pointer X position, relative to root
.
The pointer Y position, relative to root
.
If same_screen
is False, then the pointer is not on the same screen as the
argument window, child
is None, and win_x
and win_y
are zero. If
same_screen
is True, then win_x
and win_y
are the pointer coordinates
relative to the argument window's origin, and child is the child containing the
pointer, if any.
The pointer X coordinate, relative to child
, if same_screen
is true. Zero
otherwise.
The pointer Y coordinate, relative to child
, if same_screen
is true. Zero
otherwise.
The reconfigured window or its parent, depending on whether StructureNotify
or SubstructureNotify
was selected.
Set to 1 if the event was generated as a result of a resizing of the window's
parent when window
had a win_gravity of UnmapGravity
.
The window that was unmapped.
Generated using TypeDoc
a mouse button was pressed/released
See:
XConnection.grabButton
XConnection.grabPointer