Пример #1
0
 def __init__(self, text, callback, background=(100, 100, 100),
                    padding=(10, 10), *args, **kwargs):
     kwargs['background'] = background
     kwargs['padding'] = padding
     Label.__init__(self, text, *args, **kwargs)
     BaseButton.__init__(self, callback)
Пример #2
0
 def __init__(self, tabbedPages, tabName, *args, **kwargs):
     Label.__init__(self, tabName, *args, **kwargs)
     self.tabName = tabName
     self._tabbedPages = tabbedPages