0.84/Notes: Difference between revisions

Erikos (talk | contribs)
Erikos (talk | contribs)
Line 140: Line 140:


=== Extensions ===
=== Extensions ===
Extending the shell has never been so easy. With the new [http://git.sugarlabs.org/projects/sugar/repos/mainline/trees/master/extensions extension layout] one can quickly add desired functionality. For example for a new Control Panel section, one need only to place a model and view...
Extending the shell was never that easy. For example you can extend the Control Panel by adding a new section, adding a new device to the Frame, or defining a new keyboard shortcut. You only need to put your Python code, following the API guidelines, at a certain place and the extension is picked up by the shell on startup automatically.
 
The API is unstable for the moment and will be reviewed in the next release cycle. Nevertheless, people have been writing little widgets, like a clock, for the Frame already.
 
Have a look at existing extension code [http://git.sugarlabs.org/projects/sugar/repos/mainline/trees/master/extensions here].


=== Debugging ===
=== Debugging ===