Re: File chooser API for formats in Save mode
- From: Matthias Clasen <maclas gmx de>
- To: GTK+ development mailing list <gtk-devel-list gnome org>
- Subject: Re: File chooser API for formats in Save mode
- Date: Tue, 24 Feb 2004 00:37:57 +0100
Am Di, den 24.02.2004 schrieb Federico Mena Quintero um 00:18:
> Hi,
>
> Seth's new design for the file chooser calls for a combo box that
> displays available formats for saving:
>
> http://www.gnome.org/~seth/filechooser-spec/
>
> We need an API for that. My proposed API is this:
>
> void gtk_file_chooser_add_save_format (GtkFileChooser *chooser,
> gint id,
> const gchar *name,
> GdkPixbuf *small_icon,
> GdkPixbuf *large_icon);
>
> void gtk_file_chooser_remove_save_format (GtkFileChooser *chooser,
> gint id);
>
> void gtk_file_chooser_set_save_format (GtkFileChooser *chooser,
> gint id);
>
> gint gtk_file_chooser_get_save_format (GtkFileChooser *chooser);
>
[snip]
> What do people think of this API? [Owen, you had more ideas during
> today's meeting...]
I think gtk_file_chooser_[sg]et_current_save_format() would be clearer,
although quite long.
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]