************ wx.PyControl ************ Inheritance diagram for `wx.PyControl`: | .. inheritance-diagram:: wx.PyControl | Description =========== Proxy of C++ PyControl class. Derived From ^^^^^^^^^^^^^ * `wx.Control `_ * `wx.Window `_ * `wx.EvtHandler `_ * `wx.Object `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `DoEraseBackground <#DoEraseBackground>`_ * `DoGetBestSize <#DoGetBestSize>`_ * `DoGetClientSize <#DoGetClientSize>`_ * `DoGetPosition <#DoGetPosition>`_ * `DoGetSize <#DoGetSize>`_ * `DoGetVirtualSize <#DoGetVirtualSize>`_ * `DoMoveWindow <#DoMoveWindow>`_ * `DoSetClientSize <#DoSetClientSize>`_ * `DoSetSize <#DoSetSize>`_ * `DoSetVirtualSize <#DoSetVirtualSize>`_ * `OnInternalIdle <#OnInternalIdle>`_ * `SetBestSize <#SetBestSize>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(parent, id=-1, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, validator=wx.DefaultValidator, name=wx.ControlNameStr) Create a `wx.PyControl`. **Parameters:** * `parent` (`wx.Window `_) * `id` (int) * `pos` (`wx.Point `_) * `size` (`wx.Size `_) * `style` (long) * `validator` (`wx.Validator `_) * `name` (string) | **Returns:** `wx.PyControl `_ -------- .. method:: DoEraseBackground(dc) | **Parameters:** * `dc` (`wx.DC `_) | **Returns:** `bool` -------- .. method:: DoGetBestSize() `No docstrings available for this method.` -------- .. method:: DoGetClientSize() `No docstrings available for this method.` -------- .. method:: DoGetPosition() `No docstrings available for this method.` -------- .. method:: DoGetSize() `No docstrings available for this method.` -------- .. method:: DoGetVirtualSize() `No docstrings available for this method.` -------- .. method:: DoMoveWindow(x, y, width, height) | **Parameters:** * `x` (int) * `y` (int) * `width` (int) * `height` (int) -------- .. method:: DoSetClientSize(width, height) | **Parameters:** * `width` (int) * `height` (int) -------- .. method:: DoSetSize(x, y, width, height, sizeFlags=wx.SIZE_AUTO) | **Parameters:** * `x` (int) * `y` (int) * `width` (int) * `height` (int) * `sizeFlags` (int) -------- .. method:: DoSetVirtualSize(x, y) | **Parameters:** * `x` (int) * `y` (int) -------- .. method:: OnInternalIdle() `No docstrings available for this method.` -------- .. method:: SetBestSize(size=wx.DefaultSize) A 'smart' `SetSize` that will fill in default size components with the window's best size values. Also set's the minsize for use with sizers. **Parameters:** * `size` (`wx.Size `_)