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


Extension Modules

To actually get a useful window manager one must extend the core classes (see section Core Classes) with various extension classes. Extension classes take the form of mixin classes, i.e. we just inherit it with the corresponding core class. They will add methods to the core class, and can usually be configured with class attributes.

For example, to create a client which highlights the window border when it is focused one could use this fragment:


class MyClient(wmanager.Client, border.BorderClient):
    pass

Because of the mixin technique, we need some ground rules for naming schemes, configuration and initialization. Finally some extension modules are described in detail. For full extension examples, look in the directory examples in the distribution tree.


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