Ejemplo n.º 1
0
class MainXmlUi(xmlgtk.xmlgtk):
    def __init__(self, sself):
        self.sself = sself
        self.header0 = MIHeader(sself)
        self.leftpanel = MILeftPanel(sself, _('Steps'))
        self.rightpanel = MIRightPanel(sself, '')
        self.statusbar = MIStatusBar(sself)
        self.buttonbar = MIButtonBar(sself)
        xmlgtk.xmlgtk.__init__(self, XML_DATA)
        
    def xgc_header(self, node):
        logo = node.getAttribute('logo')
        self.header0.set_logo(logo)
        return self.header0
    
    def xgc_leftpanel(self, node):
        return self.leftpanel
    
    def xgc_rightpanel(self, node):
        return self.rightpanel
    
    def xgc_statusbar(self, node):
        return self.statusbar
    
    def xgc_buttonbar(self, node):
        return self.buttonbar
Ejemplo n.º 2
0
class MainXmlUi(xmlgtk.xmlgtk):
    def __init__(self, sself):
        self.sself = sself
        self.header0 = MIHeader(sself)
        self.leftpanel = MILeftPanel(sself, _('Steps'))
        self.rightpanel = MIRightPanel(sself, '')
        self.statusbar = MIStatusBar(sself)
        self.buttonbar = MIButtonBar(sself)
        xmlgtk.xmlgtk.__init__(self, XML_DATA)

    def xgc_header(self, node):
        logo = node.getAttribute('logo')
        self.header0.set_logo(logo)
        return self.header0

    def xgc_leftpanel(self, node):
        return self.leftpanel

    def xgc_rightpanel(self, node):
        return self.rightpanel

    def xgc_statusbar(self, node):
        return self.statusbar

    def xgc_buttonbar(self, node):
        return self.buttonbar
Ejemplo n.º 3
0
 def __init__(self, sself):
     self.sself = sself
     self.header0 = MIHeader(sself)
     self.leftpanel = MILeftPanel(sself, _('Steps'))
     self.rightpanel = MIRightPanel(sself, '')
     self.statusbar = MIStatusBar(sself)
     self.buttonbar = MIButtonBar(sself)
     xmlgtk.xmlgtk.__init__(self, XML_DATA)
Ejemplo n.º 4
0
 def __init__(self, sself):
     self.sself = sself
     self.header0 = MIHeader(sself)
     self.leftpanel = MILeftPanel(sself, _('Steps'))
     self.rightpanel = MIRightPanel(sself, '')
     self.statusbar = MIStatusBar(sself)
     self.buttonbar = MIButtonBar(sself)
     xmlgtk.xmlgtk.__init__(self, XML_DATA)