19 #ifndef _MFORMS_TABVIEW_H_
20 #define _MFORMS_TABVIEW_H_
43 #ifndef DOXYGEN_SHOULD_SKIP_THIS
48 void (*set_active_tab)(TabView*,int);
49 void (*set_tab_title)(TabView*,int,
const std::string&);
50 int (*get_active_tab)(TabView*);
51 int (*add_page)(TabView*,View*,
const std::string&);
52 void (*remove_page)(TabView*,View*);
73 void set_active_tab(
int index);
77 int add_page(
View *page,
const std::string& caption);
79 void remove_page(
View *page);
82 void set_tab_title(
int page,
const std::string& caption);
85 int get_page_index(
View *page);
87 View *get_page(
int index);
90 bool can_close_tab(
int index);