wxPython/wxGlade-0.9.1/widgets/menubar/menubar.py
def xml_builder(attrs, parent, sizer, sizeritem, pos=None):
    "factory to build EditMenuBar objects from a XML file"
    name = attrs.get('name')
    if parent is not None:
        if name:
            parent._menubar.properties["name"].set(name)
            parent._menubar.properties_changed(["name"])
        return parent._menubar
    else:
        mb = EditMenuBar(name, attrs.get('class', 'wxMenuBar'), None)
        mb.node = Node(mb)
        common.app_tree.add(mb.node)
        return mb
factory to build EditMenuBar objects from a XML file
factory to build EditMenuBar objects from a XML file
factory to build EditMenuBar objects from a XML file
def xml_builder(attrs, parent, sizer, sizeritem, pos=None):
    name = attrs.get('name')
    if parent is not None:
        if name:
            parent._menubar.properties["name"].set(name)
            parent._menubar.properties_changed(["name"])
        return parent._menubar
    else:
        mb = EditMenuBar(name, attrs.get('class', 'wxMenuBar'), None)
        mb.node = Node(mb)
        common.app_tree.add(mb.node)
        return mb
def xml_builder ( attrs , parent , sizer , sizeritem , pos = None ) : name = attrs . get ( 'name' ) if parent is not None : if name : parent . _menubar . properties [ "name" ] . set ( name ) parent . _menubar . properties_changed ( [ "name" ] ) return parent . _menubar else : mb = EditMenuBar ( name , attrs . get ( 'class' , 'wxMenuBar' ) , None ) mb . node = Node ( mb ) common . app_tree . add ( mb . node ) return mb
factory to build EditMenuBar objects from a XML file
factory to build EditMenuBar objects from a XML file
"factory to build EditMenuBar objects from a XML file"
attrs
parent
sizer
sizeritem
pos