Phoenix Logo

phoenix_title wx.lib.agw.aui.tabart.VC71TabArt

A class to draw tabs using the Visual Studio 2003 (VC71) style.


class_hierarchy Class Hierarchy

Inheritance diagram for class VC71TabArt:

method_summary Methods Summary

__init__ Default class constructor.
Clone Clones the art object.
DrawTab Draws a single tab.

api Class API



class VC71TabArt(AuiDefaultTabArt)

A class to draw tabs using the Visual Studio 2003 (VC71) style.


Methods



__init__(self)

Default class constructor.



Clone(self)

Clones the art object.



DrawTab(self, dc, wnd, page, in_rect, close_button_state, paint_control=False)

Draws a single tab.

Parameters:
  • dc – a wx.DC device context;
  • wnd – a wx.Window instance object;
  • page – the tab control page associated with the tab;
  • in_rect (wx.Rect) – rectangle the tab should be confined to;
  • close_button_state (integer) – the state of the close button on the tab;
  • paint_control (bool) – whether to draw the control inside a tab (if any) on a MemoryDC.