Re: Common widget for choosing file formats



Am Montag, den 28.05.2007, 06:27 -0400 schrieb Freddie Unpenstein:

> A tabless notebook beneath the format selector can probably handle the
> most common basic extra options in many cases, ...

Well, but guess this should be handled by applications themself. The
file chooser dialog as a "set_extra_widget" method for that purpose.

> One issue, is handling of formats supported already within GTK...

Good idea added support for saveable GdkPixbuf formats.

> Based on that structure, the files shown in the save dialog could be
> filtered by type, first off. This would be standard behaviour
> provided automatically by the save dialog.

Trying to follow you. Am I understanding right, that you propose to
provide an API for automatically adding filters to file choosers, when
adding a file-format chooser? Sounds like a good idea, but considering
that I've designed the format chooser as separate widget, I have no clue
for a nice API to link both widgets. Chooses I see:

 1) Automatically let the file chooser link them, when
    gtk_file_chooser_set_extra_widget is called with a
    GtkFileFormatChooser.

 2) Automatically let the format chooser link them, when 
    the file format chooser is added to some file chooser.

 3) Provide some format-chooser-method replacing set_extra_widget
    and linking the widgets.


Ciao,
Mathias
-- 
Mathias Hasselmann <mathias hasselmann gmx de>
http://taschenorakel.de/

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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