Changes

no edit summary
Line 5: Line 5:  
* /home/olpc/Activities/Assimilate.activity
 
* /home/olpc/Activities/Assimilate.activity
 
If you haven't figured this out yet, you may be in trouble... ;-)
 
If you haven't figured this out yet, you may be in trouble... ;-)
 +
 +
==Toolbar listener==
 +
We found out that by default, the tabs in the top of the game only change the part above the toolbar and not the main part of the game below which we planned to modify a bit. However, we found an application called Measure which does what we want to do. There is some code which we can copy from to make changes to the main part of the screen when you change tabs. Go to the [http://dev.laptop.org/git/projects/measure/tree/ source code for Measure] and open [http://dev.laptop.org/git/projects/measure/tree/toolbar_top.py toolbar_top.py]. The function we are interested in is called "def _toolbar_changed_cb(self, tbox, num)".
99

edits