RE: [gtk-list] Re: File Selection Dialog (proposal?)




On 04-Jul-98 Joe Pfeiffer wrote:
> 
>    Has anyone considered adding a "file type" widget tot he file selection
> dialog? Maybe the programmer make a glist and attaches it?  Are there legal
> issues, or is this just something no ones looked at? cared about? I'm writing
> an IDE and I kinda thought it'd be nice to be able to click up if it's .c .cc
> .cpp .java .pl .sh .tcl ... whatever.. someone else might want to be able to
> say .txt .html
> 
> A general ability to be able to filter the file names would be really nice...

How about having a callback function which is passed the name and/or path
of each file, and can return true/false depending on whether it should be
displayed? That would be pretty handy.

C-YA
Jon

<http://www.dookie.demon.co.uk>



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