Component: Button


Required Attributes

NameDefault value
labelNone
nameNone

Optional Attributes

NameDefault value
backgroundColorNone
commandNone
default0
enabled1
fontNone
foregroundColorNone
id-1
position[-1, -1]
size[-1, -1]
toolTip''
userdata''
visible1

Events:

gainFocus
loseFocus
mouseClick
mouseContextDoubleClick
mouseContextDown
mouseContextUp
mouseDoubleClick
mouseDown
mouseEnter
mouseLeave
mouseMiddleDoubleClick
mouseMiddleDown
mouseMiddleUp
mouseMove
mouseUp
timer

Methods:

methodargsdoc stringcomments
getId(self) # KEA 2004-04-10 # getId should go away # components should just use # self.id during and after initialization
setFocus(self, aBoolean=1)  

SourceForge Logo