wxRuby Documentation Home

# Wx::AuiTabArt

Tab art class.

## Derived from

No base class

## Data structures

## Methods

- AuiTabArt.new
- AuiTabArt#clone
- AuiTabArt#draw_background
- AuiTabArt#draw_button
- AuiTabArt#draw_tab
- AuiTabArt#get_best_tab_ctrl_size
- AuiTabArt#get_indent_size
- AuiTabArt#get_tab_size
- AuiTabArt#set_flags
- AuiTabArt#set_measuring_font
- AuiTabArt#set_normal_font
- AuiTabArt#set_selected_font
- AuiTabArt#set_sizing_info
- AuiTabArt#show_window_list

### AuiTabArt.new

### AuiTabArt#clone

AuiTabArt clone()

Clones the art object.

### AuiTabArt#draw_background

draw_background(%(arg-type)DC% dc, Window wnd, Rect rect)

Draws a background on the given area.

### AuiTabArt#draw_button

draw_button(%(arg-type)DC% dc, Window wnd, Rect in_rect, Integer bitmap_id, Integer button_state, Integer orientation, Bitmap bitmap_override, Rect out_rect)

Draws a button.

### AuiTabArt#draw_tab

draw_tab(%(arg-type)DC% dc, Window wnd, Rect in_rect, String caption, Bitmap bitmap, Boolean active, Integer close_button_state, Rect out_tab_rect, Rect out_button_rect, Integer x_extent)

Draws a tab.

### AuiTabArt#get_best_tab_ctrl_size

Integer get_best_tab_ctrl_size(%(arg-type)Window% wnd, AuiNotebookPageArray pages)

Returns the tab control size.

### AuiTabArt#get_indent_size

Integer get_indent_size()

Returns the indent size.

### AuiTabArt#get_tab_size

Size get_tab_size(%(arg-type)DC% dc, Window wnd, String caption, Bitmap bitmap, Boolean active, Integer close_button_state, Integer x_extent)

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

### AuiTabArt#set_flags

set_flags(%(arg-type)unsigned int% flags)

Sets flags.

### AuiTabArt#set_measuring_font

set_measuring_font(%(arg-type)Font% font)

Sets the font used for calculating measurements.

### AuiTabArt#set_normal_font

set_normal_font(%(arg-type)Font% font)

Sets the normal font for drawing labels.

### AuiTabArt#set_selected_font

set_selected_font(%(arg-type)Font% font)

Sets the font for drawing text for selected UI elements.

### AuiTabArt#set_sizing_info

set_sizing_info(%(arg-type)Size% tab_ctrl_size, Integer tab_count)

Sets sizing information.

### AuiTabArt#show_window_list

Integer show_window_list(%(arg-type)Window% wnd, ArrayString items, Integer active_idx)

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

[This page automatically generated from the Textile source at 2023-06-09 00:45:32 +0000]