Mercurial > fife-parpg
comparison engine/extensions/pychan/__init__.py @ 172:3fe0e68f4269
* Fixing funny typo. Chewie works on the RGB Zero-Projekt.
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 22 Jan 2009 15:35:22 +0000 |
parents | 456634bbc430 |
children | 06dddc96ce54 |
comparison
equal
deleted
inserted
replaced
171:456634bbc430 | 172:3fe0e68f4269 |
---|---|
352 All attributes will then be parsed and then set in the following way: | 352 All attributes will then be parsed and then set in the following way: |
353 | 353 |
354 - position,size,min_size,max_size,margins - These are assumed to be comma separated tuples | 354 - position,size,min_size,max_size,margins - These are assumed to be comma separated tuples |
355 of integers. | 355 of integers. |
356 - foreground_color,base_color,background_color - These are assumed to be triples or quadruples of comma | 356 - foreground_color,base_color,background_color - These are assumed to be triples or quadruples of comma |
357 separated integers. (triples: r,p,g; quadruples: r,p,g,a) | 357 separated integers. (triples: r,b,g; quadruples: r,b,g,a) |
358 - opaque,border_size,padding - These are assumed to be simple integers. | 358 - opaque,border_size,padding - These are assumed to be simple integers. |
359 | 359 |
360 All other attributes are set verbatim as strings on the generated instance. | 360 All other attributes are set verbatim as strings on the generated instance. |
361 In case a Widget does not accept an attribute to be set or the attribute can not be parsed | 361 In case a Widget does not accept an attribute to be set or the attribute can not be parsed |
362 correctly, the function will raise a GuiXMLError. | 362 correctly, the function will raise a GuiXMLError. |