mirror of
https://github.com/gryf/wmdocklib.git
synced 2026-01-12 01:14:14 +01:00
modified the fonts: they start from background colour (None or Black) and go to full intensity, which ought to be gray100 or white. the initialization procedure will spread all colour differences between the requested background and foreground proportionally to the intensity of the gray char pixel. most colour code clashes are resolved at initialization stage. there are only a few things you should not reuse, such as the space for transparency. just try out the result and make use of the 'debug' parameter which will cause the function to print the the generated xpm.
[wmdocklib.WHAT] wmdocklib is a python module that will help you develop 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)'.