RE: FileChooserDialog and FILE_CHOOSER_ACTION_SAVE



Well, Gimp has save, save as, and export as, which equates to save, save
with another name, and save with another name and a different format.

That said, thinking about it, Gimp can save according to the extension you
add, you see the drop down box with an automatic detection option, so typing
"image.png" means you get a png. That sounds more like the exact thing you
wanted. I've attached a screenshot.

If they can do it in C/GTK+, I'm sure it can be done in C++/GTKmm  :)


Gaz


-----Original Message-----
From: gtkmm-list-bounces gnome org [mailto:gtkmm-list-bounces gnome org] On
Behalf Of danny van elsen
Sent: 13 January 2005 13:09
To: gtkmm-list gnome org
Subject: Re: FileChooserDialog and FILE_CHOOSER_ACTION_SAVE


> If so, maybe you could have an export dialog like the gimp does, where you
set the file type before you see
> the file chooser? Or perhaps you could have a dialog to change the default
> save format (per document, or globally for your app).

>If you rely on the filter combo, then you rely on expanding the save
>dialog, which diminishes its elegance somewhat.

I somehow feel that forcing to answer two different dialog boxes isn't an
ideal solution either...

Is showing the "Browse for other folders part" possible at all at run time?

thanks, Danny.

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Attachment: gimp save dialog.png
Description: Binary data



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