20 lines
362 B
Python
20 lines
362 B
Python
__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()
|
|
self.part.connect("activate", self.onclick)
|
|
|
|
def onclick(self, menu):
|
|
pass |