Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbars.py
diff options
context:
space:
mode:
Diffstat (limited to 'toolbars.py')
-rw-r--r--toolbars.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/toolbars.py b/toolbars.py
index 9bbb009..8b06fae 100644
--- a/toolbars.py
+++ b/toolbars.py
@@ -54,6 +54,15 @@ class EditToolbar(gtk.Toolbar):
def __init__(self, calc):
gtk.Toolbar.__init__(self)
+ self.insert(TextToolButton('Copy',
+ lambda x: calc.text_copy()), -1)
+
+ self.insert(TextToolButton('Paste',
+ lambda x: calc.text_paste()), -1)
+
+ self.insert(TextToolButton('Cut',
+ lambda x: calc.text_cut()), -1)
+
class AlgebraToolbar(gtk.Toolbar):
def __init__(self, calc):
gtk.Toolbar.__init__(self)