mirror of
https://github.com/gryf/wmdocklib.git
synced 2026-01-13 10:04:12 +01:00
just preparing for a bigger change... introduced a global font (just one), it is lower case per default. I intend to modify the function for registering the default xpm to something accepting the 64x64 bitmap (application dependent) and insert it into the global pixmap. an other function could be used to register the alfabet pixmap and correspondently setting the variables indicating the position of each character. we would only support monospace alfabets. the 'printing' functions would also be simpler (less arguments), since it would be the library knowing which is the alfabet in use.
[wmdocklib.WHAT] Pywmgeneral is a python module that will help you develope WindowMaker dockapps in python. It is mostly a wrapper around the functions from the popular wmgeneral.c, but some new functions are added too. It also contains the Python written module pywmhelpers.py which contains functions to aid the development of wm dockapps. This module contains python functions that wrap up the functions which the extension module provides. They ease up argument passing and give nicer return values. Some additional functions, like help for handling a simple configuration file is also available. This module is better documented than the pywmgeneral. It is adviced to only use pywmhelpers and not touch the pywmgeneral module directly at all. For information about how to use the module, see the documentation in pywmhelpers.py. It is also possible to import it in the interactive interpreter and issue 'help(wmdocklib)'.