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




   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.

That would be an extremely useful, general solution.  A default
function would just filter on file names, but the user could filter on
ownership or absolutely anything they wanted instead...
-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer



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