Re: GtkFileChooser API work



On Tue, 2 Sep 2003, Federico Mena Quintero wrote:

> On Tue, 2003-09-02 at 17:53, Tim Janik wrote:
>
> > being able to pack the file selection widget into cutomized windows
> > is prolly the #1 programmer request i've seen about the widget.
> > beast for instance goes through extreme lengths of hackery to
> > embedd the GtkFileSelection widget into a beast dialog that serves
> > as a sample library browser.
>
> Just out of curiosity, would you need a separate widget even if you had
> a file selector dialog with a sane API for previews, filters, extra
> widgets, etc?

yes, if you have beast around, fire it up and click on the
"Load" button. you'll get a dialog with a treeview listing
sample lib directories (extracted from $BEAST_SAMPLE_PATH),
and once you selected one, the dialog switches pages to the
file selector directed at the directory you selected.

apart from that specific example, beast introduces its own
GtkWindow derived toplevel which does things like register
with a global window list to maintain per-project windows,
syncronizs it's title to the name of a BseObject, etc...
so whatever widget i use, i need to be able to put it into
my own window.

>
>   Federico
>

---
ciaoTJ




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