Home |All Classes |Grouped Classes |Index |Search

Class CL_Tab

Tab component. More...

Derived from:

public CL_GUIComponent

Derived by:

None

Group:

Components (GUI)

#include <ClanLib/gui.h>

Class Members:

Construction:

CL_Tab


Attributes:

get_page

get_page_by_id

get_current_page_index

get_current_page_id

get_preferred_size

Returns the preferred size of a render box.

get_page_count

returns the number of pages in the tab.


Operations:

add_page

Create new tab page. By default the ID of the tab is 0.

show_page

Show a page by its index.

show_page_by_id

Show a page by its ID. In case of non-unique ID's the first match will be shown.

remove_page

Remove a page by its index.

remove_page_by_id

Remove a page by its ID.

set_label

Set the label of the component specified by index.

set_label_by_id

Set the label of the component specified by index.