wx.lib.analogclock.lib_setup.fontselect.FontSelect¶
A generic button, and base class for the other generic buttons.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. |
|
Class API¶
- class FontSelect(GenButton)¶
A generic button, and base class for the other generic buttons.
Methods¶
- __init__(self, parent, size=(75, 21), value=None)¶
Default class constructor.
- Parameters:
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)¶