Am Dienstag, den 22.05.2007, 14:51 +0200 schrieb Xavier Bestel:
> On Tue, 2007-05-22 at 14:43 +0200, Mathias Hasselmann wrote:
> > 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+.
> >
> > The widget would be used like this:
> >
> > GtkWidget *format_chooser = egg_file_format_chooser_new();
> > gtk_file_chooser_set_extra_widget(GTK_FILE_CHOOSER(dialog),
> > format_chooser);
> >
> > EggFileFormat *format;
> >
> > format = egg_file_format_new (_("Scalable Vector Graphics (SVG)"), "svg", NULL);
> > egg_file_format_chooser_add_format(EGG_FILE_FORMAT_CHOOSER(format_chooser), format);
>
> That may be a bit short for container formats, which must handle
> subformats (e.g. AVI with different audio/video codecs).
Definitly didn't have this case in mind, and maybe its out of scope for
a _common_ widget - nevertheless we should figure out, if a common
widget can cover this case.
What would be a good UI for that?
- A tree with the container formats as root nodes?
- A second chooser widget changing its content everytime a new
container format is choosen?
- Something completely different?
Ciao,
Mathias
--
Mathias Hasselmann <mathias hasselmann gmx de>
http://taschenorakel.de/
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil