This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Common File Format Chooser

Applications supporting multiple file formats needs a file-format chooser in their file saving dialog. Several GNOME apps implement very similiar file-format choosers - so it makes sense to me, to add this widget to GTK+ (see Bug 440431, Thread on gtk-devel). The code is commited to libegg: http://svn.gnome.org/viewcvs/libegg/trunk/libegg/fileformatchooser/

Suggested API

Usage Example

Federicos Checklist

Screenshots

format-chooser-collapsed.png format-chooser-expanded.png

Existing Widgets

GIMP

gimp-collapsed.png gimp-expanded.png

GIMP uses a special file chooser dialog:

The dialog embbeds a specialized tree view using plug-in provided callbacks to build its model:

I like the look, but the API is very GIMP specific.

Dia

dia.png

Dia directly uses GtkFileChooserDialog and builds its file format chooser ad-hoc:

It looks very old fashioned and therefore would greatly benefit from some common widget.

Inkscape

inkscape.png

Inkscape used the GtkFileChooserDialog wrapper of gtkmm and builds its file format chooser ad-hoc:

OpenOffice.org

OpenOffice.org uses a pretty tree view similiar to the one used by GIMP. Unfortunatly I have/had no clue where to look for the source code of its implementation. That project is just too large for mortals like me.

oowriter-collapsed.png oowriter-expanded.png

Gnumeric

Gnumeric uses a drop-down list.

gnumeric.png

GNOME Sound-Recorder

Moves file format selection into the main window:

sound-recorder.png


2024-10-23 11:37