wx.PyControl

Inheritance diagram for wx.PyControl:



Class API

Methods

__init__(parent, id=-1, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, validator=wx.DefaultValidator, name=wx.ControlNameStr)

Create a wx.PyControl.

Parameters:


Returns:

wx.PyControl


DoEraseBackground(dc)

Parameters:


Returns:

bool


DoGetBestSize()
No docstrings available for this method.

DoGetClientSize()
No docstrings available for this method.

DoGetPosition()
No docstrings available for this method.

DoGetSize()
No docstrings available for this method.

DoGetVirtualSize()
No docstrings available for this method.

DoMoveWindow(x, y, width, height)

Parameters:

  • x (int)
  • y (int)
  • width (int)
  • height (int)

DoSetClientSize(width, height)

Parameters:

  • width (int)
  • height (int)

DoSetSize(x, y, width, height, sizeFlags=wx.SIZE_AUTO)

Parameters:

  • x (int)
  • y (int)
  • width (int)
  • height (int)
  • sizeFlags (int)

DoSetVirtualSize(x, y)

Parameters:

  • x (int)
  • y (int)

OnInternalIdle()
No docstrings available for this 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: