Ejemplo n.º 1
0
 def __init__(self, parent,  *args, **kwds):
     Tbar.__init__(self, parent,  *args, **kwds)
     #Set window's font size 
     self.SetWindowVariant(variant=FONT_VARIANT)
     self.parent = parent
     self._bookmark_menu = None
     self._bookmark_bt = None
     self.do_layout()
     self.on_bind_button()
Ejemplo n.º 2
0
    def __init__(self, master, resources, orientation): # resources (file, icons)
        ToolBar.__init__(self, master, style=orientation)
        self.master = master

        self.__XMLfile   = resources[0]
        self.__iconspath = resources[1]

        self.buttonsList = []
        self.widgetsList = []

        self.__createToolbar()
        self.Realize()