| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
GimpUndo;
GimpUndoAccumulator;
void gimp_undo_pop (GimpUndo *undo,
GimpUndoMode undo_mode,
GimpUndoAccumulator *accum);
void gimp_undo_free (GimpUndo *undo,
GimpUndoMode undo_mode);
void gimp_undo_create_preview (GimpUndo *undo,
GimpContext *context,
gboolean create_now);
void gimp_undo_refresh_preview (GimpUndo *undo,
GimpContext *context);
const gchar* gimp_undo_type_to_name (GimpUndoType type);
gboolean gimp_undo_is_weak (GimpUndo *undo);
gint gimp_undo_get_age (GimpUndo *undo);
void gimp_undo_reset_age (GimpUndo *undo);
GObject +----GimpObject +----GimpViewable +----GimpUndo +----GimpItemUndo +----GimpForegroundSelectToolUndo +----GimpGuideUndo +----GimpImageUndo +----GimpPaintCoreUndo +----GimpSamplePointUndo +----GimpTransformToolUndo +----GimpUndoStack
"dirty-mask" GimpDirtyMask : Read / Write / Construct Only "image" GimpImage* : Read / Write / Construct Only "time" guint : Read / Write "undo-type" GimpUndoType : Read / Write / Construct Only
typedef struct {
gboolean mode_changed;
gboolean size_changed;
gint previous_origin_x;
gint previous_origin_y;
gint previous_width;
gint previous_height;
gboolean resolution_changed;
gboolean unit_changed;
gboolean quick_mask_changed;
gboolean alpha_changed;
} GimpUndoAccumulator;
void gimp_undo_pop (GimpUndo *undo, GimpUndoMode undo_mode, GimpUndoAccumulator *accum);
|
|
|
|
|
void gimp_undo_create_preview (GimpUndo *undo, GimpContext *context, gboolean create_now);
|
|
|
|
|
void gimp_undo_refresh_preview (GimpUndo *undo, GimpContext *context);
|
|
|
gint gimp_undo_get_age (GimpUndo *undo);
|
|
Returns : |
the time in seconds since this undo item was created |
void gimp_undo_reset_age (GimpUndo *undo);
Changes the creation time of this undo item to the current time.
|
"undo-type" property"undo-type" GimpUndoType : Read / Write / Construct Only
Default value: GIMP_UNDO_GROUP_NONE
"free" signalvoid user_function (GimpUndo *gimpundo, GimpUndoMode arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"pop" signalvoid user_function (GimpUndo *gimpundo, GimpUndoMode arg1, gpointer arg2, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |