pkgsrc-wip/pywm/MESSAGE
Michal Pasternak 3483a382a0 PyWM is a Python Window Manager.
You drive PYWM by creating a subclass of the basic pywm.WM window manager
class. If you want even more per-window control, you can subclass the
pywm.window class as well. Plenty of examples in the PYWM distribution you
can use as a starting point.

In contrast to other Python-driven window managers, this one is so easy and
intuitive that you'll be hacking your own window manager script in a couple
of minutes. A set of easily-undersood example scripts is included with the
distribution.
2003-11-26 16:24:23 +00:00

20 lines
571 B
Text

===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2003/11/26 16:24:23 mpasternak Exp $
If you want X to start up with your own PYWM script, then put the following
into ~/.xinitrc:
${PYTHONBIN} /path/to/my/pywm/script.py
The simplest PYWM script is:
import pywm
class myWindowManagerClass(pywm.WM):
pass
def main():
myWindowManager = myWindowManagerClass()
myWindowManager.run()
if __name__ == '__main__':
main()
===========================================================================