wx.aui.AuiTabArt

Inheritance diagram for wx.aui.AuiTabArt:



Description

Tab art class.

Known Subclasses

wx.aui.AuiDefaultTabArt, wx.aui.AuiSimpleTabArt, wx.aui.PyAuiTabArt

Class API

Methods

__init__()
No docstrings available for this method.

Clone()

Clones the art object.


Returns:

wx.aui.AuiTabArt


DrawBackground(dc, wnd, rect)

Draws a background on the given area.

Parameters:


DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect)

Draws a button.

Parameters:


DrawTab(dc, wnd, in_rect, caption, bitmap, active, close_button_state, out_tab_rect, out_button_rect, x_extent)

Draws a tab.

Parameters:


GetBestTabCtrlSize(wnd, pages)

Returns the tab control size.

Parameters:

  • wnd (wx.Window)
  • pages (list of wx.aui.AuiNotebookPage)

Returns:

int


GetIndentSize()

Returns the indent size.


Returns:

int


GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent)

Returns the tab size for the given caption, bitmap and state.

Parameters:

  • dc (wx.DC)
  • wnd (wx.Window)
  • caption (string)
  • bitmap (wx.Bitmap)
  • active (bool)
  • close_button_state (int)
  • x_extent (int)

Returns:

wx.Size


SetFlags(flags)

Sets flags.

Parameters:

  • flags (int)

SetMeasuringFont(font)

Sets the font used for calculating measurements.

Parameters:


SetNormalFont(font)

Sets the normal font for drawing labels.

Parameters:


SetSelectedFont(font)

Sets the font for drawing text for selected UI elements.

Parameters:


SetSizingInfo(tab_ctrl_size, tab_count)

Sets sizing information.

Parameters:

  • tab_ctrl_size (wx.Size)
  • tab_count (long)

ShowDropDown(wnd, items, active_idx)

Parameters:

  • wnd (wx.Window)
  • items (list of wx.aui.AuiNotebookPage)
  • active_idx (int)

Returns:

int