wx._windows.Panel
Proxy of C++ Panel class
Inherits: wx._core.Window

Create(args, kwargs)
Create(self, Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, String name=PanelNameStr) -> bool Create the GUI part of the Window for 2-phase creation mode.

GetClassDefaultAttributes
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes Get the default attributes for this class. This is useful if you want to use the same font or colour in your own control as in a standard control -- which is a much better idea than hard coding specific colours or fonts which might look completely out of place on the user's system, especially if it uses themes. The variant parameter is only relevant under Mac currently and is ignore under other platforms. Under Mac, it will change the size of the returned font. See `wx.Window.SetWindowVariant` for more about this.

InitDialog(args, kwargs)
InitDialog(self) Sends an EVT_INIT_DIALOG event, whose handler usually transfers data to the dialog via validators.

SetFocus(args, kwargs)
SetFocus(self) Overrides `wx.Window.SetFocus`. This method uses the (undocumented) mix-in class wxControlContainer which manages the focus and TAB logic for controls which usually have child controls. In practice, if you call this method and the panel has at least one child window, then the focus will be given to the child window.

SetFocusIgnoringChildren(args, kwargs)
SetFocusIgnoringChildren(self) In contrast to `SetFocus` (see above) this will set the focus to the panel even of there are child windows in the panel. This is only rarely needed.

[constructor]
Usage: classname(arguments)

[member '__doc__']
Documentation for this class

[member '__module__']
The module that this class belongs to

[operator 'repr']
Usage: repr(a)