**************** wx.aui.AuiTabArt **************** Inheritance diagram for `wx.aui.AuiTabArt`: | .. inheritance-diagram:: wx.aui.AuiTabArt | Description =========== Tab art class. Known Subclasses ^^^^^^^^^^^^^^^^ `wx.aui.AuiDefaultTabArt`, `wx.aui.AuiSimpleTabArt`, `wx.aui.PyAuiTabArt` Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `Clone <#Clone>`_ * `DrawBackground <#DrawBackground>`_ * `DrawButton <#DrawButton>`_ * `DrawTab <#DrawTab>`_ * `GetBestTabCtrlSize <#GetBestTabCtrlSize>`_ * `GetIndentSize <#GetIndentSize>`_ * `GetTabSize <#GetTabSize>`_ * `SetFlags <#SetFlags>`_ * `SetMeasuringFont <#SetMeasuringFont>`_ * `SetNormalFont <#SetNormalFont>`_ * `SetSelectedFont <#SetSelectedFont>`_ * `SetSizingInfo <#SetSizingInfo>`_ * `ShowDropDown <#ShowDropDown>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__() `No docstrings available for this method.` -------- .. method:: Clone() Clones the art object. | **Returns:** `wx.aui.AuiTabArt `_ -------- .. method:: DrawBackground(dc, wnd, rect) Draws a background on the given area. **Parameters:** * `dc` (`wx.DC <../Widgets/wx.DC.html>`_) * `wnd` (`wx.Window <../Widgets/wx.Window.html>`_) * `rect` (`wx.Rect <../Widgets/wx.Rect.html>`_) -------- .. method:: DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect) Draws a button. **Parameters:** * `dc` (`wx.DC <../Widgets/wx.DC.html>`_) * `wnd` (`wx.Window <../Widgets/wx.Window.html>`_) * `in_rect` (`wx.Rect <../Widgets/wx.Rect.html>`_) * `bitmap_id` (int) * `button_state` (int) * `orientation` (int) * `bitmap_override` (`wx.Bitmap <../Widgets/wx.Bitmap.html>`_) * `out_rect` (`wx.Rect <../Widgets/wx.Rect.html>`_) -------- .. method:: DrawTab(dc, wnd, in_rect, caption, bitmap, active, close_button_state, out_tab_rect, out_button_rect, x_extent) Draws a tab. **Parameters:** * `dc` (`wx.DC <../Widgets/wx.DC.html>`_) * `wnd` (`wx.Window <../Widgets/wx.Window.html>`_) * `in_rect` (`wx.Rect <../Widgets/wx.Rect.html>`_) * `caption` (string) * `bitmap` (`wx.Bitmap <../Widgets/wx.Bitmap.html>`_) * `active` (bool) * `close_button_state` (int) * `out_tab_rect` (`wx.Rect <../Widgets/wx.Rect.html>`_) * `out_button_rect` (`wx.Rect <../Widgets/wx.Rect.html>`_) * `x_extent` (int) -------- .. method:: GetBestTabCtrlSize(wnd, pages) Returns the tab control size. **Parameters:** * `wnd` (`wx.Window <../Widgets/wx.Window.html>`_) * `pages` (list of `wx.aui.AuiNotebookPage`) | **Returns:** `int` -------- .. method:: GetIndentSize() Returns the indent size. | **Returns:** `int` -------- .. method:: 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 <../Widgets/wx.DC.html>`_) * `wnd` (`wx.Window <../Widgets/wx.Window.html>`_) * `caption` (string) * `bitmap` (`wx.Bitmap <../Widgets/wx.Bitmap.html>`_) * `active` (bool) * `close_button_state` (int) * `x_extent` (int) | **Returns:** `wx.Size <../Widgets/wx.Size.html>`_ -------- .. method:: SetFlags(flags) Sets flags. **Parameters:** * `flags` (int) -------- .. method:: SetMeasuringFont(font) Sets the font used for calculating measurements. **Parameters:** * `font` (`wx.Font <../Widgets/wx.Font.html>`_) -------- .. method:: SetNormalFont(font) Sets the normal font for drawing labels. **Parameters:** * `font` (`wx.Font <../Widgets/wx.Font.html>`_) -------- .. method:: SetSelectedFont(font) Sets the font for drawing text for selected UI elements. **Parameters:** * `font` (`wx.Font <../Widgets/wx.Font.html>`_) -------- .. method:: SetSizingInfo(tab_ctrl_size, tab_count) Sets sizing information. **Parameters:** * `tab_ctrl_size` (`wx.Size <../Widgets/wx.Size.html>`_) * `tab_count` (long) -------- .. method:: ShowDropDown(wnd, items, active_idx) | **Parameters:** * `wnd` (`wx.Window <../Widgets/wx.Window.html>`_) * `items` (list of `wx.aui.AuiNotebookPage`) * `active_idx` (int) **Returns:** `int`