Method Summary |
|
__init__ (self,
parent,
id,
pos,
size,
style)
Default class constructor. |
|
AddPage (self,
caption,
selected,
imgindex)
Add a page to the FlatNotebook . |
|
AdvanceSelection (self,
bForward)
Cycles through the tabs. |
|
AssignImageList (self,
imglist)
Assigns the image list for the page control. |
|
CanFitToScreen (self,
page)
Returns wheter a tab can fit in the left space in the screen or
not. |
|
ClearFlag (self,
flag)
Deletes a flag from the FlatNotebook style. |
|
DeleteAllPages (self)
Deletes all the pages. |
|
DeletePage (self,
page)
Delete the specified page from FlatNotebook . |
|
DoDeletePage (self,
page)
Does the actual page deletion. |
|
DoSetSelection (self,
page)
Does the actual selection of a page. |
|
DrawDragHint (self)
Draws small arrow at the place that the tab will be placed. |
|
Enable (self,
page,
enabled)
Enables or disables a tab. |
|
FireEvent (self,
selection)
Fires the wxEVT_FLATNOTEBOOK_PAGE_CHANGING and
wxEVT_FLATNOTEBOOK_PAGE_CHANGED events called from other methods (from
menu selection or Smart Tabbing). |
|
GetEnabled (self,
page)
Returns whether a tab is enabled or not. |
|
GetImageList (self)
Returns the image list for the page control. |
|
GetLastVisibleTab (self)
Returns the last visible tab. |
|
GetNumOfVisibleTabs (self)
Returns the number of visible tabs. |
|
GetNumTabsCanScrollLeft (self)
Returns the number of tabs than can be scrolled left. |
|
GetPageCount (self)
Returns the number of tabs in the FlatNotebook control. |
|
GetPageImage (self,
page)
Returns the image index associated to a page. |
|
GetPageText (self,
page)
Returns the tab caption of the page. |
|
GetSelection (self)
Returns the current selected page. |
|
GetSingleLineBorderColour (self)
Returns the colour for the single line border. |
|
HasFlag (self,
flag)
Returns whether a flag is present in the FlatNotebook style. |
|
HitTest (self,
pt)
HitTest method for PageContainer . |
|
InsertPage (self,
indx,
text,
selected,
imgindex)
Inserts a new page at the specified position. |
|
IsDefaultTabs (self)
Returns whether a tab has a default style. |
|
IsTabVisible (self,
page)
Returns whether a tab is visible or not. |
|
MoveTabPage (self,
nMove,
nMoveTo)
Moves a tab inside the same FlatNotebook . |
|
OnDropTarget (self,
x,
y,
nTabPage,
wnd_oldContainer)
Handles the drop action from a DND operation. |
|
OnEraseBackground (self,
event)
Handles the wx.EVT_ERASE_BACKGROUND event for PageContainer (does nothing). |
|
OnLeftDClick (self,
event)
Handles the wx.EVT_LEFT_DCLICK event for PageContainer . |
|
OnLeftDown (self,
event)
Handles the wx.EVT_LEFT_DOWN events for PageContainer . |
|
OnLeftUp (self,
event)
Handles the wx.EVT_LEFT_UP events for PageContainer . |
|
OnMiddleDown (self,
event)
Handles the wx.EVT_MIDDLE_DOWN events for PageContainer . |
|
OnMouseEnterWindow (self,
event)
Handles the wx.EVT_ENTER_WINDOW event for PageContainer . |
|
OnMouseLeave (self,
event)
Handles the wx.EVT_LEAVE_WINDOW event for PageContainer . |
|
OnMouseMove (self,
event)
Handles the wx.EVT_MOTION for PageContainer . |
|
OnPaint (self,
event)
Handles the wx.EVT_PAINT event for PageContainer . |
|
OnRightDown (self,
event)
Handles the wx.EVT_RIGHT_DOWN events for PageContainer . |
|
OnSize (self,
event)
Handles the wx.EVT_SIZE events for PageContainer . |
|
OnTabMenuSelection (self,
event)
Handles the wx.EVT_MENU event for PageContainer . |
|
PopupTabsMenu (self)
Pops up the menu activated with the drop down arrow in the navigation
area. |
|
SetImageList (self,
imglist)
Sets the image list for the page control. |
|
SetPageImage (self,
page,
imgindex)
Sets the image index associated to a page. |
|
SetPageText (self,
page,
text)
Sets the tab caption of the page. |
|
SetSelection (self,
page)
Sets the selected page. |
|
ShowTabTooltip (self,
tabIdx)
Shows a tab tooltip. |
|
TabHasImage (self,
tabIdx)
Returns whether a tab has an associated image index or not. |