Home | Trees | Index | Help |
|
---|
Package wx :: Class Panel |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ | Panel
DocTabbedChildFrame
,
EditableListBox
,
FileBrowseButton
,
FloatCanvas
,
FoldPanelBar
,
FoldPanelItem
,
GeneralOptionsPanel
,
NavCanvas
,
NotebookPage
,
PreviewControlBar
,
PyColourBox
,
PyColourChooser
,
PyPanel
,
PyShell
,
PyShellInput
,
PyShellOutput
,
ScrolledWindow
,
VScrolledWindow
,
WizardPage
Method Summary | |
---|---|
Window |
Construct and show a generic Window. |
__repr__(self)
| |
bool |
Create the GUI part of the Window for 2-phase creation mode. |
VisualAttributes |
Get the default attributes for this class. (Static method) |
Sends an EVT_INIT_DIALOG event, whose handler usually transfers data to the dialog via validators. | |
Overrides wx.Window.SetFocus . | |
In contrast to SetFocus (see above) this will set the focus to the
panel even of there are child windows in the panel. |
Instance Method Details |
---|
__init__(self,
parent,
id=-1,
pos=DefaultPosition,
size=DefaultSize,
style=wxTAB_TRAVERSAL|wxNO_BORDER,
name=PanelNameStr)
Construct and show a generic Window. |
Create(self, parent, id=-1, pos=DefaultPosition, size=DefaultSize, style=wxTAB_TRAVERSAL|wxNO_BORDER, name=PanelNameStr)Create the GUI part of the Window for 2-phase creation mode.
|
InitDialog(self)Sends an EVT_INIT_DIALOG event, whose handler usually transfers data to the dialog via validators.
|
SetFocus(self)Overrideswx.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.
:see: wx.FocusEvent , wx.Window.SetFocus , SetFocusIgnoringChildren
|
SetFocusIgnoringChildren(self)In contrast toSetFocus (see above) this will set the focus to the
panel even of there are child windows in the panel. This is only
rarely needed. |
Static Method Details |
---|
GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)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
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:25:18 2005 | http://epydoc.sf.net |