# Gtk::FileChooserDialog

**URL:** <https://www.ruby-forum.com/t/gtk-filechooserdialog/215032>\
**Category:** Ruby-Gnome 2\
**Created:** [December 19, 2011, 11:09pm UTC](https://www.ruby-forum.com/t/gtk-filechooserdialog/215032 "2011-12-19T23:09:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [December 19, 2011, 11:09pm UTC](https://www.ruby-forum.com/t/gtk-filechooserdialog/215032/1 "2011-12-19T23:09:16Z")

</div>

I’ve been digging and digging and can’t find a way to do this. I’m using  
the Gtk::FIleCHooserDialog, but I would like a way to give it a  
different sort method for the files it displays. I did this once before  
with Gtk::FileSelection, using  
fileSelector.file\_list.model\_set\_sort\_func()

But as this is a new app, I’d like to use the new FileChooserDialog. Is  
there a way to give it my own sort function.

Thanks

This electronic communication and any attachments may contain  
confidential and proprietary  
information of DigitalGlobe, Inc. If you are not the intended recipient,  
or an agent or employee  
responsible for delivering this communication to the intended recipient,  
or if you have received  
this communication in error, please do not print, copy, retransmit,  
disseminate or  
otherwise use the information. Please indicate to the sender that you  
have received this  
communication in error, and delete the copy you received. DigitalGlobe  
reserves the  
right to monitor any electronic communication sent or received by its  
employees, agents  
or representatives.
