Top | ![]() |
![]() |
![]() |
![]() |
PlumaView * | pluma_tab_get_view () |
PlumaDocument * | pluma_tab_get_document () |
PlumaTab * | pluma_tab_get_from_document () |
PlumaTabState | pluma_tab_get_state () |
gboolean | pluma_tab_get_auto_save_enabled () |
void | pluma_tab_set_auto_save_enabled () |
gint | pluma_tab_get_auto_save_interval () |
void | pluma_tab_set_auto_save_interval () |
PlumaView *
pluma_tab_get_view (PlumaTab *tab
);
Gets the PlumaView inside tab
.
PlumaDocument *
pluma_tab_get_document (PlumaTab *tab
);
Gets the PlumaDocument associated to tab
.
PlumaTab *
pluma_tab_get_from_document (PlumaDocument *doc
);
Gets the PlumaTab associated with doc
.
PlumaTabState
pluma_tab_get_state (PlumaTab *tab
);
Gets the PlumaTabState of tab
.
gboolean
pluma_tab_get_auto_save_enabled (PlumaTab *tab
);
Gets the current state for the autosave feature
void pluma_tab_set_auto_save_enabled (PlumaTab *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
pluma_tab_get_auto_save_interval (PlumaTab *tab
);
Gets the current interval for the autosaves
void pluma_tab_set_auto_save_interval (PlumaTab *tab
,gint interval
);
Sets the interval for the autosave feature. It does nothing if the interval is the same as the one already present. It removes the old interval timeout and adds a new one with the autosave passed as argument.