mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-23 22:52:30 +01:00
3c127f98494e56e2a0da2de9a6ab67eb7695d3d7
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.
[WHAT] pywmdockapps is the name of an GPL'd project containing one python package (wmdocklib) and a few python scripts. wmdocklib will help you develop WindowMaker dockapps in python. it is mostly a wrapper around the popular wmgeneral.c, but some new functions have been added too. wmdocklib is divided in two parts: a thin wrapper around the popular wmgeneral.c and a thicker pywmhelpers.py module providing more pythonic interface to the wmdocklib and a few additional functions (e.g.: handling simple configuration files). all functions provided by these modules are imported in the namespace of wmdocklib so you won't need explicit importing of either modules: just import wmdocklib. It is adviced to only use those functions provided by 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(pywmhelpers)'. the sample scripts are described in the examples/README a small set of samples are provided. all of them make use of the module pywmgeneral. [INSTALLATION] python ./setup install [CONTACT] Anything related to this piece of software can be e-mailed to me, Mario Frasca <mfrasca@interia.pl>.
Description
Languages
C
62.1%
Python
37.9%