Power Management
Bert Freudenberg
bert at freudenbergs.de
Wed Apr 2 06:08:12 EDT 2008
On 02.04.2008, at 09:54, Aswathy wrote:
>
> Hi
>
> We are trying to enhance the power management module in OLPC. We
> thought of developing the application using Gtk+ in C.
>
> We have tried one small program in OLPC. Built using gtk+ in C. It
> displays the battery details of the OLPC. We have run the program in
> Linux platform and got the required output. But when we tried in
> OLPC, the output that we expected is not shown. It will show up the
> details and all, but the window is not complete ie with no buttons
> and options that normally a activity in OLPC has. So we need to know
> how we can implement it in compatible with the OLPC.
What you are missing is the "Toolbox" which contains one or more
"Toolbars":
http://wiki.laptop.org/go/OLPC_Human_Interface_Guidelines/The_Sugar_Interface/Toolbars
The toolbox is implemented by the activity itself. Currently there
exist two implementations that I am aware of, one is the Toolbox from
sugar-toolkit for Python-based activities, the other is the
SugarNavigatorBar for Squeak-based activities.
You will have to implement the toolbox yourself (unless you want to
try embedding your application into a Python wrapper, which comes with
its own problems).
- Bert -
More information about the Devel
mailing list