wx.PyPanel

Inheritance diagram for wx.PyPanel:



Class API

Methods

__init__(parent, id=-1, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.TAB_TRAVERSAL|wx.NO_BORDER, name=wx.PanelNameStr)

Constructor.

Parameters:


Returns:

wx.PyPanel


Create(parent, id=-1, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.TAB_TRAVERSAL|wx.NO_BORDER, name=wx.PanelNameStr)

Create the GUI part of the window for 2-phase creation mode.

Parameters:


Returns:

bool


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: