Sugar Architecture/API

From OLPC
Jump to navigation Jump to search

Sugar is built in python with a variety of open source packages. Programing in the sugar environment requires a basic understanding of both the Sugar User Interface, supporting third party packages, and built in sugar packages.

Traditional software packages are built against Application Program Intefaces. Sugar runs Activities instead of applications, but from a developers point of view, it's the same thing.

Third Party Packages

  • GTK
  • Cairo
  • Hippo
  • D-BUS

Sugar Packages

Sugar Library Packages

  • Shell

Sugar User Interface Packages

Most of the Human Interface guidlines are implemented in the sugar shell packages located in /usr/share/sugar/

Within the sugar UI packages, there are two main sub-packages: View Model

Sugar Activity Programing Interfaces