| Top |
| XedView * | xed_tab_get_view () |
| XedDocument * | xed_tab_get_document () |
| XedTab * | xed_tab_get_from_document () |
| XedTabState | xed_tab_get_state () |
| gboolean | xed_tab_get_auto_save_enabled () |
| void | xed_tab_set_auto_save_enabled () |
| gint | xed_tab_get_auto_save_interval () |
| void | xed_tab_set_auto_save_interval () |
| gboolean | autosave | Read / Write |
| int | autosave-interval | Read / Write |
| gboolean | can-close | Read |
| char * | name | Read |
| XedTabState | state | Read |
XedDocument *
xed_tab_get_document (XedTab *tab);
Gets the XedDocument associated to tab
.
XedTab *
xed_tab_get_from_document (XedDocument *doc);
Gets the XedTab associated with doc
.
gboolean
xed_tab_get_auto_save_enabled (XedTab *tab);
Gets the current state for the autosave feature
void xed_tab_set_auto_save_enabled (XedTab *tab,gboolean enable);
Enables or disables the autosave feature. It does not install an autosave timeout if the document is new or is read-only
gint
xed_tab_get_auto_save_interval (XedTab *tab);
Gets the current interval for the autosaves
“autosave” property “autosave” gboolean
Autosave feature.
Owner: XedTab
Flags: Read / Write
Default value: TRUE
“autosave-interval” property “autosave-interval” int
Time between two autosaves.
Owner: XedTab
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“can-close” property “can-close” gboolean
Wheather the tab can be closed.
Owner: XedTab
Flags: Read
Default value: TRUE
“state” property“state” XedTabState
The tab's state.
Owner: XedTab
Flags: Read
Default value: XED_TAB_STATE_NORMAL