| Top |  |  |  |  | 
| TeplTabGroupTeplTabGroup — Interface for a group of TeplTab's | 
| TeplBuffer * | active-buffer | Read | 
| TeplTab * | active-tab | Read / Write | 
| TeplView * | active-view | Read | 
TeplTabGroup is implemented by TeplApplicationWindow, TeplNotebook and TeplTab.
The tepl_tab_group_get_tabs() function permits to get the list of TeplTab's.
The tepl_tab_group_get_active_tab() function permits to get the TeplTab
currently shown in the TeplTabGroup.
TeplTabGroup also contains convenience functions to get TeplView's and TeplBuffer's instead of TeplTab's.
GList *
tepl_tab_group_get_tabs (TeplTabGroup *tab_group);
Gets the list of TeplTab's contained in tab_group
.
If tab_group
 contains non-TeplTab children, those will not be present in the
returned list. In other words, it is not guaranteed that
the index of a TeplTab in the returned GList has the same child index in
the tab_group
 container.
the list of all the
TeplTab's contained in tab_group
. 
[transfer container][element-type TeplTab]
Since: 3.0
GList *
tepl_tab_group_get_views (TeplTabGroup *tab_group);
Convenience function.
like
tepl_tab_group_get_tabs(), but returns TeplView's. 
[transfer container][element-type TeplView]
Since: 3.0
GList *
tepl_tab_group_get_buffers (TeplTabGroup *tab_group);
Convenience function.
like
tepl_tab_group_get_tabs(), but returns TeplBuffer's. 
[transfer container][element-type TeplBuffer]
Since: 3.0
TeplTab *
tepl_tab_group_get_active_tab (TeplTabGroup *tab_group);
Since: 3.0
void tepl_tab_group_set_active_tab (TeplTabGroup *tab_group,TeplTab *tab);
Sets the “active-tab”. tab
 must be part of tab_group
.
Since: 3.0
TeplView *
tepl_tab_group_get_active_view (TeplTabGroup *tab_group);
Convenience function.
Since: 3.0
TeplBuffer *
tepl_tab_group_get_active_buffer (TeplTabGroup *tab_group);
Convenience function.
Since: 3.0
void tepl_tab_group_append_tab (TeplTabGroup *tab_group,TeplTab *tab,gboolean jump_to);
Appends tab
 to tab_group
.
| tab_group | a TeplTabGroup. | |
| tab | a TeplTab. | |
| jump_to | whether to set  | 
Since: 3.0
struct TeplTabGroupInterface {
	GTypeInterface parent_interface;
	GList *		(*get_tabs)		(TeplTabGroup *tab_group);
	TeplTab * (*get_active_tab) (TeplTabGroup *tab_group);
	void		(*set_active_tab) (TeplTabGroup *tab_group,
						 TeplTab      *tab);
	void		(*append_tab_vfunc) (TeplTabGroup *tab_group,
						 TeplTab      *tab);
};
The virtual function table for TeplTabGroup. When implementing one of the vfunc, you can assume that the pre-conditions are already checked (the parameters are valid).
| GTypeInterface  | The parent interface. | |
| Virtual function pointer for  | ||
| Virtual function pointer for  | ||
| Virtual function pointer for
 | ||
| Virtual function pointer for  | 
Since: 3.0
“active-buffer” property“active-buffer” TeplBuffer *
The TeplBuffer of the active tab.
Owner: TeplTabGroup
Flags: Read
Since: 3.0
“active-tab” property“active-tab” TeplTab *
The TeplTab currently shown.
Owner: TeplTabGroup
Flags: Read / Write
Since: 3.0