Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/SubActivity.py
blob: 8b9a586ca2eaa76634e91813f801bee740209e8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import pygtk
pygtk.require( '2.0' )
import gtk

#vi shortcuts to subactivities:
#   Welcome.py
#   miniTamTam/miniTamTamMain.py
#   Edit/MainWindow.py
#   SynthLab/SynthLabWindow.py

class SubActivity(gtk.EventBox):
    
    def __init__(self, set_mode):
        gtk.EventBox.__init__(self)
        self.set_mode = set_mode

    def onDestroy(self):
        pass
    def onKeyPress(self, widget, data):
        pass
    def onKeyRelease(self, widget, data):
        pass 
    def onActivate(self, arg):
        pass
    def onDeactivate(self):
        pass