2010-05-16 23:21:20 -04:00
|
|
|
__author__="bjschuma"
|
|
|
|
__date__ ="$May 16, 2010 7:23:22 PM$"
|
|
|
|
|
|
|
|
|
|
|
|
__all__ = ["bar", "item", "playback", "theme"]
|
|
|
|
|
|
|
|
|
|
|
|
import gtk
|
|
|
|
from gtknodes import Node
|
|
|
|
|
|
|
|
|
|
|
|
class MenuNode(Node):
|
|
|
|
def __init__(self, elm, title):
|
|
|
|
Node.__init__(self,elm)
|
|
|
|
self.part = gtk.MenuItem(title)
|
|
|
|
self.setattrs()
|
2010-05-29 23:18:09 -04:00
|
|
|
self.part.connect("activate", self.onactivate)
|
2010-05-16 23:21:20 -04:00
|
|
|
|
2010-05-29 23:18:09 -04:00
|
|
|
def onactivate(self, menu):
|
2010-05-16 23:21:20 -04:00
|
|
|
pass
|