Undo from within plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want for some reason to implement undo within a plugin (window).

I found this call:

gimp_image_undo(GimpImage *image)

I just do not know what whould be put into brackets. Can you advice?

I have this line in my plugin:

image_ID = param[1].data.d_image (I just copy/pasted it from some plugin template), is this what I am searching for?

Or the undo might be done for the layer only, this might be even better...

Thanks
_______________________________________________
gimp-developer-list mailing list
gimp-developer-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux