mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-18 20:10:23 +01:00
db4f53d257c7cca63622572d907bdd3f42a6bea1
removed the definition of defaultRGBFiles from the examples: it is now hosted in the library. removed function parseColors from examples. this is done during initPixmap. added wmdocklib.defaultRGBFileList removed wmdocklib.setColor (superseded by wmdocklib.initPixmap) extended wmdocklib.initPixmap: basic 16 colour palette [basic_colours] from rgb.txt (not hard coded) alter_palette to (re)define an indexed colour in the xpm. bg/fg can be a single character or a number [0..15] ' ' as transparent colour. some debugging 'if 0:' code. extended wmdocklib.getColorCode: it reads either the given rgb file or the first accessible file from defaultRGBFileList corrected url in setup.py: it used to point to ibo!
[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%