FNBRendererRibbonTabs
This class handles the drawing of tabs using the Ribbon Tabs renderer.
Inheritance Diagram
Inheritance diagram for: FNBRendererRibbonTabs
Known Superclasses
Methods Summary
Class API
-
class FNBRendererRibbonTabs(FNBRenderer)[source]
This class handles the drawing of tabs using the Ribbon Tabs renderer.
-
__init__()[source]
Default class constructor.
-
CalcTabWidth(pageContainer, tabIdx, tabHeight)[source]
Calculates the width of the input tab.
Parameters: |
- pageContainer – an instance of FlatNotebook;
- tabIdx – the index of the input tab;
- tabHeight – the height of the tab.
|
-
DrawTab(pageContainer, dc, posx, tabIdx, tabWidth, tabHeight, btnStatus)[source]
Draws a tab using the Ribbon Tabs style.
Parameters: |
- pageContainer – an instance of FlatNotebook;
- dc – an instance of wx.DC;
- posx – the x position of the tab;
- tabIdx – the index of the tab;
- tabWidth – the tab’s width;
- tabHeight – the tab’s height;
- btnStatus – the status of the ‘X’ button inside this tab.
|
-
DrawTabs(pageContainer, dc)[source]
Actually draws the tabs in FlatNotebook.
Tree