Phoenix Logo

phoenix_title wx.lib.agw.flatnotebook.FNBRendererDefault

This class handles the drawing of tabs using the standard renderer.


class_hierarchy Class Hierarchy

Inheritance diagram for class FNBRendererDefault:

method_summary Methods Summary

__init__ Default class constructor.
DrawTab Draws a tab using the Standard style.

api Class API



class FNBRendererDefault(FNBRenderer)

This class handles the drawing of tabs using the standard renderer.


Methods



__init__(self)

Default class constructor.



DrawTab(self, pageContainer, dc, posx, tabIdx, tabWidth, tabHeight, btnStatus)

Draws a tab using the Standard 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.