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)
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)
def __init__(self, parent=None): Button.__init__(self, parent) ImageBase.__init__(self)
def __init__(self, parent = None): Button.__init__(self, parent) ImageBase.__init__(self)