comparison engine/extensions/pychan/__init__.py @ 213:b0c4e6e41659

- yet another fix for the "funny typo" - of course it should be RGBA, not RBGA ...
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 16 Mar 2009 15:54:14 +0000
parents 54bfd1015b35
children 724f3a5f3e96
comparison
equal deleted inserted replaced
212:bbf17f8c221f 213:b0c4e6e41659
355 All attributes will then be parsed and then set in the following way: 355 All attributes will then be parsed and then set in the following way:
356 356
357 - position,size,min_size,max_size,margins - These are assumed to be comma separated tuples 357 - position,size,min_size,max_size,margins - These are assumed to be comma separated tuples
358 of integers. 358 of integers.
359 - foreground_color,base_color,background_color - These are assumed to be triples or quadruples of comma 359 - foreground_color,base_color,background_color - These are assumed to be triples or quadruples of comma
360 separated integers. (triples: r,b,g; quadruples: r,b,g,a) 360 separated integers. (triples: r,g,b; quadruples: r,g,b,a)
361 - opaque,border_size,padding - These are assumed to be simple integers. 361 - opaque,border_size,padding - These are assumed to be simple integers.
362 362
363 All other attributes are set verbatim as strings on the generated instance. 363 All other attributes are set verbatim as strings on the generated instance.
364 In case a Widget does not accept an attribute to be set or the attribute can not be parsed 364 In case a Widget does not accept an attribute to be set or the attribute can not be parsed
365 correctly, the function will raise a GuiXMLError. 365 correctly, the function will raise a GuiXMLError.