[sugar] stoke and fill color of a machine's xo?

Dan Williams dcbw
Fri Jan 12 14:15:11 EST 2007


On Fri, 2007-01-12 at 13:55 -0500, Erik Blankinship wrote:
> How does an activity access the stoke and fill color of a machine's
> xo?

from sugar import profile

color = profile.get_color()
fill = color.get_fill_color()
stroke = color.get_stroke_color()

'color' will be an instance of IconColor.

Dan


> Thanks,
> Erik
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar



More information about the Sugar-devel mailing list