|
|
|
|
|
GetPaneByWidget(self,
window)
This version of GetPane() looks up a pane based on a
'pane window', see below comment for more info. |
source code
|
|
|
|
GetPaneByName(self,
name)
This version of GetPane() looks up a pane based on a
'pane name', see below comment for more info. |
source code
|
|
|
|
GetPane(self,
item)
GetPane() looks up a PaneInfo structure based
on the supplied window pointer. |
source code
|
|
|
|
GetAllPanes(self)
GetAllPanes() returns a reference to all the pane info structures. |
source code
|
|
|
|
HitTest(self,
x,
y)
HitTest() is an internal function which determines
which UI item the specified coordinates are over
(x,y) specify a position in client coordinates. |
source code
|
|
|
|
|
|
|
GetFlags(self)
GetFlags() returns the current manager's flags. |
source code
|
|
|
|
SetFrame(self,
frame)
SetFrame() is usually called once when the frame
manager class is being initialized. |
source code
|
|
|
|
GetFrame(self)
GetFrame() returns the frame pointer being managed by FrameManager. |
source code
|
|
|
|
UnInit(self)
UnInit() must be called, usually in the destructor
of the frame class. |
source code
|
|
|
|
GetArtProvider(self)
GetArtProvider() returns the current art provider being used. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
SetArtProvider(self,
art_provider)
SetArtProvider() instructs FrameManager to use the
specified art provider for all drawing calls. |
source code
|
|
|
|
AddPane(self,
window,
arg1=None,
arg2=None)
AddPane() tells the frame manager to start managing a child window. |
source code
|
|
|
|
|
|
|
|
|
|
InsertPane(self,
window,
pane_info,
insert_level=0)
InsertPane() is used to insert either a previously unmanaged pane window
into the frame manager, or to insert a currently managed pane somewhere else. |
source code
|
|
|
|
DetachPane(self,
window)
DetachPane() tells the FrameManager to stop managing the pane specified
by window. |
source code
|
|
|
|
|
|
|
LoadPerspective(self,
layout,
update=True)
LoadPerspective() loads a layout which was saved with SavePerspective()
If the "update" flag parameter is True, the GUI will immediately be updated. |
source code
|
|
|
|
GetPanePositionsAndSizes(self,
dock)
Returns all the panes positions and sizes. |
source code
|
|
|
|
| LayoutAddPane(self,
cont,
dock,
pane,
uiparts,
spacer_only) |
source code
|
|
|
|
| LayoutAddDock(self,
cont,
dock,
uiparts,
spacer_only) |
source code
|
|
|
|
| LayoutAll(self,
panes,
docks,
uiparts,
spacer_only=False,
oncheck=True) |
source code
|
|
|
|
|
|
|
DoFrameLayout(self)
DoFrameLayout() is an internal function which invokes wxSizer.Layout
on the frame's main sizer, then measures all the various UI items
and updates their internal rectangles. |
source code
|
|
|
|
|
|
|
GetDockPixelOffset(self,
test)
GetDockPixelOffset() is an internal function which returns
a dock's offset in pixels from the left side of the window
(for horizontal docks) or from the top of the window (for
vertical docks). |
source code
|
|
|
|
ProcessDockResult(self,
target,
new_pos)
ProcessDockResult() is a utility function used by DoDrop() - it checks
if a dock operation is allowed, the new dock position is copied into
the target info. |
source code
|
|
|
|
DoDrop(self,
docks,
panes,
target,
pt,
offset=wx.Point(0, 0))
DoDrop() is an important function. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Render(self,
dc)
Render() draws all of the pane captions, sashes,
backgrounds, captions, grippers, pane borders and buttons. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| UpdateButtonOnScreen(self,
button_ui_part,
event) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OnPaneButton(self,
event)
OnPaneButton() is an event handler that is called
when a pane button has been pressed. |
source code
|
|
|
Inherited from wx._core.EvtHandler:
AddPendingEvent,
Bind,
Connect,
Disconnect,
GetEvtHandlerEnabled,
GetNextHandler,
GetPreviousHandler,
ProcessEvent,
ProcessPendingEvents,
SetEvtHandlerEnabled,
SetNextHandler,
SetPreviousHandler,
Unbind,
__repr__
Inherited from wx._core.EvtHandler (private):
_setOORInfo
Inherited from wx._core.Object:
Destroy,
GetClassName,
IsSameAs
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
|