RSS/Atom feed Twitter
Site is read-only, email is disabled

Invoking save dialog from within plugin

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Invoking save dialog from within plugin Tibor Bamhor 14 May 09:12
  Fwd: Invoking save dialog from within plugin Tibor Bamhor 14 May 09:56
Tibor Bamhor
2013-05-14 09:12:45 UTC (over 11 years ago)

Invoking save dialog from within plugin

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!

Tibor Bamhor
2013-05-14 09:56:27 UTC (over 11 years ago)

Fwd: Invoking save dialog from within plugin

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
Date: 2013/5/14
Subject: Invoking save dialog from within plugin To: gimp-developer

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!