Home | Trees | Index | Help |
|
---|
Package wx :: Class Control |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ | Control
AnimationCtrlBase
,
AuiNotebook
,
AuiTabCtrl
,
BookCtrlBase
,
Button
,
CalendarCtrl
,
CheckBox
,
CollapsiblePane
,
ComboBox
,
ComboCtrl
,
ControlWithItems
,
DatePickerCtrl
,
Gauge
,
GenericDirCtrl
,
HyperlinkCtrl
,
LEDNumberCtrl
,
ListCtrl
,
MediaCtrl
,
PickerBase
,
PyControl
,
RadioBox
,
RadioButton
,
ScrollBar
,
Slider
,
SpinButton
,
SpinCtrl
,
StaticBitmap
,
StaticBox
,
StaticLine
,
StaticPicture
,
StaticText
,
StyledTextCtrl
,
TextCtrl
,
ToggleButton
,
ToolBarBase
,
TreeCtrl
,
TreeListCtrl
,
WebKitCtrl
This is the base class for a control or 'widget'.
A control is generally a small window which processes user input and/or displays one or more item of data.
Method Summary | |
---|---|
Control |
Create a Control. |
Simulates the effect of the user issuing a command to the item. | |
bool |
Do the 2nd phase and create the GUI control. |
int |
Get the control alignment (left/right/centre, top/bottom/centre) |
VisualAttributes |
Get the default attributes for this class. (Static method) |
String |
Get just the text of the label, without mnemonic characters ('&') |
Property Summary | |
---|---|
Alignment : See GetAlignment | |
LabelText : See GetLabelText | |
thisown : The membership flag |
Instance Method Details |
---|
__init__(self,
parent,
id=-1,
pos=DefaultPosition,
size=DefaultSize,
style=0,
validator=DefaultValidator,
name=ControlNameStr)
|
Command(self, event)Simulates the effect of the user issuing a command to the item.
|
Create(self, parent, id=-1, pos=DefaultPosition, size=DefaultSize, style=0, validator=DefaultValidator, name=ControlNameStr)Do the 2nd phase and create the GUI control.
|
GetAlignment(self)Get the control alignment (left/right/centre, top/bottom/centre)
|
GetLabelText(self)Get just the text of the label, without mnemonic characters ('&')
|
Static Method Details |
---|
GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)Get the default attributes for this class. This is useful if you want to use the same font or colour in your own control as in a standard control -- which is a much better idea than hard coding specific colours or fonts which might look completely out of place on the user's system, especially if it uses themes. The variant parameter is only relevant under Mac currently and is
ignore under other platforms. Under Mac, it will change the size of
the returned font. See
|
Property Details |
---|
AlignmentSee
|
LabelTextSee
|
thisownThe membership flag |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:09:23 2007 | http://epydoc.sf.net |