Re: Common widget for choosing file formats
- From: Xavier Bestel <xavier bestel free fr>
- To: Mathias Hasselmann <mathias hasselmann gmx de>
- Cc: "gtk-devel-list gnome org" <gtk-devel-list gnome org>
- Subject: Re: Common widget for choosing file formats
- Date: Tue, 22 May 2007 14:51:52 +0200
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).
Xav
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]