wx.lib.agw.flatnotebook.FNBRendererVC8¶This class handles the drawing of tabs using the VC8 renderer.
Methods Summary¶__init__ |
Default class constructor. |
DrawTab |
Draws a tab using the VC8 style. |
DrawTabs |
Draws all the tabs using VC8 style. |
FillVC8GradientColour |
Fills a tab with a gradient shading. |
GetEndX |
Returns the x end position of a tab. |
GetStartX |
Returns the x start position of a tab. |
NumberTabsCanFit |
Calculates the number of tabs that can fit on the available space on screen. |
Class API¶FNBRendererVC8(FNBRenderer)¶This class handles the drawing of tabs using the VC8 renderer.
__init__(self)¶Default class constructor.
DrawTab(self, pageContainer, dc, posx, tabIdx, tabWidth, tabHeight, btnStatus)¶Draws a tab using the VC8 style.
| Parameters: |
|
|---|
DrawTabs(self, pageContainer, dc)¶Draws all the tabs using VC8 style.
| Parameters: |
|
|---|
FillVC8GradientColour(self, pageContainer, dc, tabPoints, bSelectedTab, tabIdx)¶Fills a tab with a gradient shading.
| Parameters: |
|
|---|
GetEndX(self, tabPoints, y, style)¶Returns the x end position of a tab.
| Parameters: |
|
|---|
GetStartX(self, tabPoints, y, style)¶Returns the x start position of a tab.
| Parameters: |
|
|---|
NumberTabsCanFit(self, pageContainer, fr=-1)¶Calculates the number of tabs that can fit on the available space on screen.
| Parameters: |
|
|---|