sugar3.graphics.style module

All the constants are expressed in pixels. They are defined for the XO screen and are usually adapted to different resolution by applying a zoom factor.

STABLE.

class sugar3.graphics.style.Color(color, alpha=1.0)

Bases: object

get_gdk_color()
get_html()
get_int()
get_rgba()
get_svg()
class sugar3.graphics.style.Font(desc)

Bases: object

get_pango_desc()
sugar3.graphics.style.zoom(units)

Previous topic

sugar3.graphics.scrollingdetector module

Next topic

sugar3.graphics.toggletoolbutton module

This Page