Fwd: Invoking save dialog from within plugin

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

 



Hi

an update to my question:

I managed to find gimpfileops - so I got closer to solution, I am using
this call:

gimp_file_save() and have two other questions

1.) drawable ID=layer ID  Correct?
2.) I can get png options dialog, but no filename and directory selection
dialog!? I used "test.png" as both filenames and it saved the file into
current directory (I run the gimp from console). And this is not enough


Thanks


---------- Forwarded message ----------
From: Tibor Bamhor <tiborb95@xxxxxxxxx>
Date: 2013/5/14
Subject: Invoking save dialog from within plugin
To: gimp-developer <gimp-developer-list@xxxxxxxxx>


Hi
one or two short quetions:

I am using gimp_image_duplicate() call in C plugin - obviously it works,
but:

1) how can I make the new image visible? (In fact I dont need this, I am
just curious here....)
2) how can I invoke "save" dialog for this new image? I am fine with new
image not being visible, I just want the user enter new name/location to
save that new image.

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