AGW Logo

agw_title FNBRendererFancy

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

hierarchy Inheritance Diagram

Inheritance diagram for: FNBRendererFancy

Inheritance diagram of FNBRendererFancy


supclasses Known Superclasses


method_summary Methods Summary

__init__Default class constructor.
DrawTabDraws a tab using the Fancy style, similar to the VC71 one but with gradients.

API Class API

class FNBRendererFancy(FNBRenderer)[source]

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



__init__()[source]

Default class constructor.



DrawTab(pageContainer, dc, posx, tabIdx, tabWidth, tabHeight, btnStatus)[source]

Draws a tab using the Fancy style, similar to the VC71 one but with gradients.

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.
Tree

Table Of Contents

Previous topic

FNBRendererDefault

Next topic

FNBRendererFirefox2