Changes

Jump to navigation Jump to search
Line 39: Line 39:  
=== How do I add a standard edit toolbar to my activity? ===
 
=== How do I add a standard edit toolbar to my activity? ===
 
The activity package has a standard edit toolbar with the following members:
 
The activity package has a standard edit toolbar with the following members:
** undo  -- the undo button
+
* undo  -- the undo button
** redo  -- the redo button
+
* redo  -- the redo button
** copy  -- the copy button
+
* copy  -- the copy button
** paste -- the paste button
+
* paste -- the paste button
** separator -- A separator between undo/redo and copy/paste
+
* separator -- A separator between undo/redo and copy/paste
    
You can create a standard edit tool bar using code similar to the following in the __init__ method of your activity's class after you have created a toolbox:
 
You can create a standard edit tool bar using code similar to the following in the __init__ method of your activity's class after you have created a toolbox:
Anonymous user

Navigation menu