| Top |  |  |  |  | 
|  | e_widget_undo_attach () | 
|  | e_widget_undo_is_attached () | 
|  | e_widget_undo_has_undo () | 
|  | e_widget_undo_has_redo () | 
|  | e_widget_undo_describe_undo () | 
|  | e_widget_undo_describe_redo () | 
|  | e_widget_undo_do_undo () | 
|  | e_widget_undo_do_redo () | 
|  | e_widget_undo_reset () | 
void e_widget_undo_attach (,GtkWidget *widgetstruct _EFocusTracker *focus_tracker);
The function does nothing, if the widget is not of a supported type
for undo functionality, same as when the undo is already attached.
It is ensured that the actions of the provided focus_tracker
 are
updated on change of the widget
.
See e_widget_undo_is_attached()
| widget | a  | |
| focus_tracker | an  | 
Since: 3.12
gboolean e_widget_undo_is_attached ();GtkWidget *widget
Checks whether the given widget has already attached an undo
functionality - it is done with e_widget_undo_attach()
Since: 3.12
gboolean e_widget_undo_has_undo ();GtkWidget *widget
 Whether the given widget
has any undo available.
See: e_widget_undo_describe_undo
, e_widget_undo_do_undo
Since: 3.12
gboolean e_widget_undo_has_redo ();GtkWidget *widget
 Whether the given widget
has any redo available.
See: e_widget_undo_describe_redo
, e_widget_undo_do_redo
Since: 3.12
gchar * e_widget_undo_describe_undo ();GtkWidget *widget
 Description of a top undo action available
for the widget
, NULLNULLg_free()
See: e_widget_undo_has_undo
, e_widget_undo_do_undo
. 
[transfer full]
Since: 3.12
gchar * e_widget_undo_describe_redo ();GtkWidget *widget
 Description of a top redo action available
for the widget
, NULLNULLg_free()
See: e_widget_undo_has_redo
, e_widget_undo_do_redo
. 
[transfer full]
Since: 3.12
void e_widget_undo_do_undo ();GtkWidget *widget
Applies the top undo action on the widget
, which also remembers
a redo action. It does nothing if the widget doesn't have
attached undo functionality (e_widget_undo_attach()
See: e_widget_undo_attach
, e_widget_undo_has_undo
, e_widget_undo_describe_undo
Since: 3.12
void e_widget_undo_do_redo ();GtkWidget *widget
Applies the top redo action on the widget
, which also remembers
an undo action. It does nothing if the widget doesn't have
attached undo functionality (e_widget_undo_attach()
See: e_widget_undo_attach
, e_widget_undo_has_redo
, e_widget_undo_describe_redo
Since: 3.12
void e_widget_undo_reset ();GtkWidget *widget
Resets undo and redo stack to empty on a widget with attached
undo functionality. It does nothing, if the widget does not have
the undo functionality attached (see e_widget_undo_attach()
Since: 3.12