24 lines
433 B
Python
24 lines
433 B
Python
|
#! /usr/bin/python
|
||
|
|
||
|
# To change this template, choose Tools | Templates
|
||
|
# and open the template in the editor.
|
||
|
|
||
|
__author__="bjschuma"
|
||
|
__date__ ="$May 16, 2010 7:25:18 PM$"
|
||
|
|
||
|
from gtknodes import Node
|
||
|
import gtk
|
||
|
|
||
|
|
||
|
class MenuBar(Node):
|
||
|
def __init__(self,elm):
|
||
|
Node.__init__(self,elm)
|
||
|
self.part = gtk.MenuBar()
|
||
|
self.setattrs()
|
||
|
self.makemenu()
|
||
|
|
||
|
|
||
|
def makemenu(self):
|
||
|
for child in self.children:
|
||
|
self.part.append(child.part)
|