PYME.contrib.auiFloatBook module

auinotebookwithfloatingpages.py

This module provides the class AuiNotebookWithFloatingPages, which is a subclass of wx.aui.AuiNotebook. It allows the user to drag tabs of the notebook out of the notebook and have the contents of the tab being transferred to a frame, thus creating a floating page. When the user closes a floating page, the page is placed back in the active pane of the notebook.

Known limitation: when the notebook is more or less full screen, tabs cannot be dragged far enough outside of the notebook to become floating pages.

Author: Frank Niessink <frank@...> License: wxWidgets license Version: 0.1 Date: August 8, 2007

class PYME.contrib.auiFloatBook.AuiNotebookWithFloatingPages(*args, **kwargs)

Bases: wx.aui.AuiNotebook

Attributes

AcceleratorTable See GetAcceleratorTable and SetAcceleratorTable
Alignment See GetAlignment
AutoLayout See GetAutoLayout and SetAutoLayout
BackgroundColour See GetBackgroundColour and SetBackgroundColour
BackgroundStyle See GetBackgroundStyle and SetBackgroundStyle
BestSize See GetBestSize
BestVirtualSize See GetBestVirtualSize
Border See GetBorder
Caret See GetCaret and SetCaret
CharHeight See GetCharHeight
CharWidth See GetCharWidth
Children See GetChildren
ClassName See GetClassName
ClientAreaOrigin See GetClientAreaOrigin
ClientRect See GetClientRect and SetClientRect
ClientSize See GetClientSize and SetClientSize
Constraints See GetConstraints and SetConstraints
ContainingSizer See GetContainingSizer and SetContainingSizer
ControlMargin See GetControlMargin and SetControlMargin
ControlSizer See GetControlSizer
CurrentPage See GetCurrentPage
Cursor See GetCursor and SetCursor
DefaultAttributes See GetDefaultAttributes
DropTarget See GetDropTarget and SetDropTarget
EffectiveMinSize See GetEffectiveMinSize
Enabled See IsEnabled and Enable
EventHandler See GetEventHandler and SetEventHandler
EvtHandlerEnabled See GetEvtHandlerEnabled and SetEvtHandlerEnabled
ExtraStyle See GetExtraStyle and SetExtraStyle
FitToCurrentPage See GetFitToCurrentPage and SetFitToCurrentPage
Font See GetFont and SetFont
ForegroundColour See GetForegroundColour and SetForegroundColour
GrandParent See GetGrandParent
GtkWidget GetGtkWidget(self) -> long
Handle See GetHandle
HelpText See GetHelpText and SetHelpText
Id See GetId and SetId
ImageList See GetImageList and SetImageList
InternalBorder See GetInternalBorder and SetInternalBorder
Label See GetLabel and SetLabel
LabelText See GetLabelText
LayoutDirection See GetLayoutDirection and SetLayoutDirection
MaxClientSize GetMaxClientSize(self) -> Size
MaxHeight See GetMaxHeight
MaxSize See GetMaxSize and SetMaxSize
MaxWidth See GetMaxWidth
MinClientSize GetMinClientSize(self) -> Size
MinHeight See GetMinHeight
MinSize See GetMinSize and SetMinSize
MinWidth See GetMinWidth
Name See GetName and SetName
NextHandler See GetNextHandler and SetNextHandler
PageCount See GetPageCount
PageImage See GetPageImage and SetPageImage
PageText See GetPageText and SetPageText
Parent See GetParent
Position See GetPosition and SetPosition
PreviousHandler See GetPreviousHandler and SetPreviousHandler
Rect See GetRect and SetRect
ScreenPosition See GetScreenPosition
ScreenRect See GetScreenRect
Selection See GetSelection and SetSelection
Shown See IsShown and Show
Size See GetSize and SetSize
Sizer See GetSizer and SetSizer
ThemeEnabled See GetThemeEnabled and SetThemeEnabled
ToolTip See GetToolTip and SetToolTip
ToolTipString
TopLevel See IsTopLevel
TopLevelParent See GetTopLevelParent
UpdateClientRect See GetUpdateClientRect
UpdateRegion See GetUpdateRegion
Validator See GetValidator and SetValidator
VirtualSize See GetVirtualSize and SetVirtualSize
WindowStyle See GetWindowStyle and SetWindowStyle
WindowStyleFlag See GetWindowStyleFlag and SetWindowStyleFlag
WindowVariant See GetWindowVariant and SetWindowVariant
thisown The membership flag

Methods

FloatPage(pageIndex)
IsMouseWellOutsideWindow()
onCloseFloatingPage(event)
onDragMotion(event)
onEndDrag(event)
FloatPage(pageIndex)
IsMouseWellOutsideWindow()
onCloseFloatingPage(event)
onDragMotion(event)
onEndDrag(event)