## wxAuiTabArt

Tab art class.

Derived from

No base class

Include files

<wx/aui/auibook.h>

Data structures

Members

wxAuiTabArt::wxAuiTabArt
wxAuiTabArt::Clone
wxAuiTabArt::DrawBackground
wxAuiTabArt::DrawButton
wxAuiTabArt::DrawTab
wxAuiTabArt::GetBestTabCtrlSize
wxAuiTabArt::GetIndentSize
wxAuiTabArt::GetTabSize
wxAuiTabArt::SetFlags
wxAuiTabArt::SetMeasuringFont
wxAuiTabArt::SetNormalFont
wxAuiTabArt::SetSelectedFont
wxAuiTabArt::SetSizingInfo
wxAuiTabArt::ShowWindowList

### wxAuiTabArt::wxAuiTabArt

wxAuiTabArt()

Constructor.

### wxAuiTabArt::Clone

wxAuiTabArt* Clone()

Clones the art object.

### wxAuiTabArt::DrawBackground

void DrawBackground(wxDC& dc, wxWindow* wnd, const wxRect& rect)

Draws a background on the given area.

### wxAuiTabArt::DrawButton

void DrawButton(wxDC& dc, wxWindow* wnd, const wxRect& in_rect, int bitmap_id, int button_state, int orientation, const wxBitmap& bitmap_override, wxRect* out_rect)

Draws a button.

### wxAuiTabArt::DrawTab

void DrawTab(wxDC& dc, wxWindow* wnd, const wxRect& in_rect, const wxString& caption, const wxBitmap& bitmap, bool active, int close_button_state, wxRect* out_tab_rect, wxRect* out_button_rect, int* x_extent)

Draws a tab.

### wxAuiTabArt::GetBestTabCtrlSize

int GetBestTabCtrlSize(wxWindow* wnd, wxAuiNotebookPageArray& pages)

Returns the tab control size.

### wxAuiTabArt::GetIndentSize

int GetIndentSize()

Returns the indent size.

### wxAuiTabArt::GetTabSize

wxSize GetTabSize(wxDC& dc, wxWindow* wnd, const wxString& caption, const wxBitmap& bitmap, bool active, int close_button_state, int* x_extent)

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

### wxAuiTabArt::SetFlags

void SetFlags(unsigned int flags)

Sets flags.

### wxAuiTabArt::SetMeasuringFont

void SetMeasuringFont(const wxFont& font)

Sets the font used for calculating measurements.

### wxAuiTabArt::SetNormalFont

void SetNormalFont(const wxFont& font)

Sets the normal font for drawing labels.

### wxAuiTabArt::SetSelectedFont

void SetSelectedFont(const wxFont& font)

Sets the font for drawing text for selected UI elements.

### wxAuiTabArt::SetSizingInfo

void SetSizingInfo(const wxSize& tab_ctrl_size, size_t tab_count)

Sets sizing information.

### wxAuiTabArt::ShowWindowList

int ShowWindowList(wxWindow* wnd, const wxArrayString& items, int active_idx)

Pops up a menu to show the list of windows managed by wxAui.