contents up previous next

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.