wxPython/wxGlade-0.9.1/widgets/toolbar/toolbar.py
def xml_builder(attrs, parent, sizer, sizeritem, pos=None):
    "factory to build EditToolBar objects from a XML file"
    name = attrs.get('name')
    if parent is not None:
        if name:
            parent._toolbar.properties["name"].set(name)
            parent._toolbar.properties_changed(["name"])
        return parent._toolbar
    else:
        tb = EditToolBar(name, attrs.get('class', 'wxToolBar'), None)
        tb.node = Node(tb)
        common.app_tree.add(tb.node)
        return tb
factory to build EditToolBar objects from a XML file
factory to build EditToolBar objects from a XML file
factory to build EditToolBar 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._toolbar.properties["name"].set(name)
            parent._toolbar.properties_changed(["name"])
        return parent._toolbar
    else:
        tb = EditToolBar(name, attrs.get('class', 'wxToolBar'), None)
        tb.node = Node(tb)
        common.app_tree.add(tb.node)
        return tb
def xml_builder ( attrs , parent , sizer , sizeritem , pos = None ) : name = attrs . get ( 'name' ) if parent is not None : if name : parent . _toolbar . properties [ "name" ] . set ( name ) parent . _toolbar . properties_changed ( [ "name" ] ) return parent . _toolbar else : tb = EditToolBar ( name , attrs . get ( 'class' , 'wxToolBar' ) , None ) tb . node = Node ( tb ) common . app_tree . add ( tb . node ) return tb
factory to build EditToolBar objects from a XML file
factory to build EditToolBar objects from a XML file
"factory to build EditToolBar objects from a XML file"
attrs
parent
sizer
sizeritem
pos