dockart.ModernDockArt

Inheritance diagram for ModernDockArt:


digraph inheritance848c034025 {
rankdir=LR;
size="8.0, 12.0";
  "dockart.ModernDockArt" [style="setlinewidth(0.5)",URL="#dockart.ModernDockArt",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10];
  "dockart.AuiDefaultDockArt" -> "dockart.ModernDockArt" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "dockart.AuiDefaultDockArt" [style="setlinewidth(0.5)",URL="AuiDefaultDockArt.html#dockart.AuiDefaultDockArt",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10];
}


Description

ModernDockArt is a custom AuiDockArt class, that implements a look similar to Firefox and other recents applications.

Is uses winxptheme and XP themes whenever possible, so it should look good even if the user has a custom theme.

Class API

Methods

class ModernDockArt(win)

Bases: dockart.AuiDefaultDockArt

ModernDockArt is a custom AuiDockArt class, that implements a look similar to Firefox and other recents applications.

Is uses winxptheme and XP themes whenever possible, so it should look good even if the user has a custom theme.

__init__()

Default class constructor.

Parameter:win – the window managed by AuiManager.
DrawCaption(dc, window, text, rect, pane)

Draws the text in the pane caption.

Parameters:
  • dc – a wx.DC device context;
  • window – an instance of wx.Window;
  • text – the text to be displayed;
  • rect – the pane caption rectangle;
  • pane – the pane for which the text is drawn.
DrawCaptionBackground(dc, rect, active)

Draws the text caption background in the pane.

Parameters:
  • dc – a wx.DC device context;
  • rect – the text caption rectangle;
  • active – whether the pane is active or not.
DrawPaneButton(dc, window, button, button_state, rect, pane)

Draws a pane button in the pane caption area.

Parameters:
  • dc – a wx.DC device context;
  • window – an instance of wx.Window;
  • button – the button to be drawn;
  • button_state – the pane button state;
  • _rect – the pane caption rectangle;
  • pane – the pane for which the button is drawn.

Table Of Contents

This Page