This website requires JavaScript.
Explore
Help
Register
Sign In
sugarlabs
/
sugar-toolkit-gtk3
Watch
1
Star
0
Fork
0
You've already forked sugar-toolkit-gtk3
Code
Issues
Pull Requests
Releases
Wiki
Activity
eee98e1f82
sugar-toolkit-gtk3
/
sugar
/
__init__.py
6 lines
95 B
Python
Raw
Normal View
History
Unescape
Escape
Docstrings for modules all over sugar and shell. These are just the doc strings I created as I was spelunking through to see how Sugar manages launching applications. The resulting auto-documentation is neither polished or finished, but it should help people reading the code somewhat. There are a few minor code cleanups: * activityhandle (replacing C idiom for initialisation with a Python one) * bundle registry (using a parameterised directory name so that it shows up in the documentation) * validate_activity_id function, use isinstance( item, (str,unicode)) for the query, rather than two separate checks with isinstance
2007-04-10 04:47:37 +02:00
"""
OLPC Sugar User Interface
"""
Get the zoom level buttons to work
2006-08-28 14:36:48 +02:00
ZOOM_MESH
=
0
ZOOM_FRIENDS
=
1
ZOOM_HOME
=
2
ZOOM_ACTIVITY
=
3
Reference in New Issue
Copy Permalink