TabView

Categoryrefcounted
Typehime_tab_view_t
InheritsView

Multi-page view with tabs.

Constructors

hime_tab_view_t hime_tab_view_create()

Create a new TabView.

Return

hime_tab_view_t

Methods

void hime_tab_view_add_page(self, title, view)

Add view as a new page with title.

Parameters

Return

void

void hime_tab_view_add_page_at(self, title, view, index)

Add view as a new page with title at index.

Parameters

Return

void

size_t hime_tab_view_page_count(self)

Return the count of pages in this view.

Parameters

Return

size_t

hime_view_t hime_tab_view_page_at(self, index)

Return the view of page at index.

Parameters

Return

hime_view_t

void hime_tab_view_select_page_at(self, index)

Select the page at index.

Parameters

Return

void

size_t hime_tab_view_get_selected_page_index(self)

Return the index of selected page.

Parameters

Return

size_t

hime_view_t hime_tab_view_get_selected_page(self)

Return the view of selected page.

Parameters

Return

hime_view_t