A generic button, and base class for the other generic buttons.
Default class constructor. |
|
FontSelect
(GenButton)¶A generic button, and base class for the other generic buttons.
__init__
(self, parent, size=(75, 21), value=None)¶Default class constructor.
parent (wx.Window) – parent window. Must not be None
;
id (integer) – window identifier. A value of -1 indicates a default value;
label (string) – the button text label;
pos (tuple or wx.Point
) – the control position. A value of (-1, -1) indicates a default
position, chosen by either the windowing system or wxPython, depending on
platform;
size (tuple or wx.Size
) – the control size. A value of (-1, -1) indicates a default size,
chosen by either the windowing system or wxPython, depending on platform;
style (integer) – the button style;
validator (wx.Validator) – the validator associated with the button;
name (string) – the button name.
See also
wx.Button
for a list of valid window styles.
GetValue
(self)¶OnClick
(self, event)¶SetValue
(self, value)¶