| 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 () |
| gboolean | autosave | Read / Write |
| gint | autosave-interval | Read / Write |
| gchar * | name | Read |
| PlumaTabState | state | Read |
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBox
╰── PlumaTab
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.
“autosave” property “autosave” gboolean
Autosave feature.
Owner: PlumaTab
Flags: Read / Write
Default value: TRUE
“autosave-interval” property “autosave-interval” gint
Time between two autosaves.
Owner: PlumaTab
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“state” property“state” PlumaTabState
The tab's state.
Owner: PlumaTab
Flags: Read
Default value: PLUMA_TAB_STATE_NORMAL