The Python X Library - X Objects

Go to the first, previous, next, last section, table of contents.

# X Objects

All X operations are performed by invoking object methods.

The objects and their methods are listed in the following nodes, however with no detailed explanations. The reader are referred to other sources of X documentation for details, e.g. the X protocol specification, the C Xlib documentation or man pages. A vast collection of X documentation links can be found at http://www.rahul.net/kenton/xsites.html.

Methods returning a single value will return that directly. Otherwise, an object containing attributes for each of the result values is returned.

Methods returning some value will raise an exception on error. Methods which does not return any value have instead an `on_error` parameter, which can be used to specify an error handler.

- Display: Methods on Display objects.
- Resource: Methods common to all the following resource objects.
- Colormap: Methods on Colormap objects.
- Cursor: Methods on Cursor objects.
- Drawable: Methods common to Window and Pixmap objects.
- Window: Methods on Window objects.
- Pixmap: Methods on Pixmap objects.
- Fontable: Methods common to GC and Font objects.
- GC: Methods on GC objects.
- Font: Methods on Font objects.

Go to the first, previous, next, last section, table of contents.