Top | ![]() |
![]() |
![]() |
![]() |
TeplTabGroupTeplTabGroup — Interface for a group of TeplTab's |
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
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
struct TeplTabGroupInterface { GTypeInterface parent_interface; GList * (*get_tabs) (TeplTabGroup *tab_group); TeplTab * (*get_active_tab) (TeplTabGroup *tab_group); };
The virtual function table for TeplTabGroup.
GTypeInterface |
The parent interface. |
|
Virtual function pointer for |
||
Virtual function pointer for |
Since: 3.0