sugarbot's aim is to provide testing and automation facilities for the OLPC Project's Sugar GUI. The project must first identify and evaluate possible implementation options, and then implement the best choice. Although it has a Sugar focus, sugarbot should be easily extensible to other Python-based GUI's.

Thursday, June 5, 2008

Getting pretty sugar-specific

I'm getting into some of the nitty-gritty with Sugar here, trying to handle some of the Widget types that it defines itself.  Kind of a pain, but alas...

2 comments:

Michael Stone said...

Is there something that Sugar could be doing to make your life easier here?

Zach said...

There are a few Widget subclasses that I've run into (in sugar.graphics, IIRC) that do not have accessor methods to retrieve the label or name that they were assigned. Also, the objects do not use those names/labels to call gtk.Widget.set_name() to set the name of the widget in a globally-retrievable manner.