From: Peter Liljenberg <petli@ct...> - 2002-02-25 17:58:01
I've put together an alpha release of the upcoming 2.5. It can be
It should be complete feature-wise, but there might be one or two bugs
(although it seems stable enough for me) and the documentation is
still unfinished for the new features. But take a look anyway, all
testing will make the sharp 2.5 better. The news look like this:
** Abstraction for internal windows
The core class Client now subclasses the new class Window. The new
class InternalWindow is also a subclass of Window. The main advantage
of this is that wm-internal windows (e.g. the ModeWindow) can be
wrapped in an InternalWindow. The internal window can use the same
event system as Client windows, and also use a number of methods
previously only provided for Client windows.
** New extensions: message and input
Message is an abstraction refactored out of menu for displaying
windows containing text. The new input extension uses this to display
a text input window. It can e.g. be used to let the user input
shell commands or python code.
** New mode window mixin: mw_load
mw_load displays the current load average in the mode window. It
has support for Linux /proc and the more general Unix
** Code reorganization: plwm.misc
The module plwm.misc contains various useful hacks. Most of these
were previously found in the example wm petliwm.py, but is now easier
to use in other peoples wms. Take a look in the file to see what is
available, it is self-documented.
** New feature: Screen border allocation
The Screen class now provides the method alloc_border(), which can be
used by mixins to reserve screen area at the edges. Client windows
will not be allowed to cover these borders. Initially it is used by
the mode window.