This class handles the drawing of tabs using the Firefox 2 renderer.
wx.lib.agw.flatnotebook.FNBRenderer
Default class constructor. |
|
Draws a tab using the Firefox 2 style. |
FNBRendererFirefox2
(FNBRenderer)¶This class handles the drawing of tabs using the Firefox 2 renderer.
__init__
(self)¶Default class constructor.
DrawTab
(self, pageContainer, dc, posx, tabIdx, tabWidth, tabHeight, btnStatus)¶Draws a tab using the Firefox 2 style.
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.