wx.lib.masked.textctrl.PreMaskedTextCtrl¶
This class exists to support the use of XRC subclassing.
Class Hierarchy¶
Known Superclasses¶
wx.lib.masked.maskededit.MaskedEditAccessorsMixin
, wx.lib.masked.textctrl.BaseMaskedTextCtrl
Methods Summary¶
Default class constructor. |
|
Class API¶
- class PreMaskedTextCtrl(BaseMaskedTextCtrl, MaskedEditAccessorsMixin)¶
This class exists to support the use of XRC subclassing.
Methods¶
- __init__(self)¶
Default class constructor.
- Parameters:
parent (wx.Window) – the window parent. Must not be
None
;id (integer) – window identifier. A value of -1 indicates a default value;
value (string) – value to be shown;
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 – 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 window style;
validator (wx.Validator) – this is mainly provided for data-transfer, as control does its own validation;
name (string) – the window name;
setupEventHandling (boolean) – setup event handling by default.
- OnCreate(self, evt)¶