Example #1
0
 def __init__(self, parent=None):
     Button.__init__(self, parent)
     TextBase.__init__(self)
     ImageBase.__init__(self)
     self.imgSize = 16, 16
     self.textGap = 0
     self.margin = 5, 5, 5, 5
     self.altCmd = ''
     self.changeEvent('text', self.onResize)
     self.changeEvent('textGap', self.onResize)
     self.changeEvent('imgSize', self.onResize)
Example #2
0
 def __init__(self, parent = None):
     Button.__init__(self, parent)
     TextBase.__init__(self)
     ImageBase.__init__(self)
     self.imgSize = 16, 16
     self.textGap = 0
     self.margin = 5, 5, 5, 5
     self.altCmd = ''
     self.changeEvent('text', self.onResize)
     self.changeEvent('textGap', self.onResize)
     self.changeEvent('imgSize', self.onResize)
Example #3
0
 def __init__(self, parent=None):
     Button.__init__(self, parent)
     ImageBase.__init__(self)
Example #4
0
 def __init__(self, parent = None):
     Button.__init__(self, parent)
     ImageBase.__init__(self)