gtk
====

.. module:: gtk.FileChooserDialog

:mod:`FileChooserDialog` 
------------------------

:data:`gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER` permet de choisir la sélection 
d'un dossier et pas d'un fichier.

::

        dialog = gtk.FileChooserDialog('libelle',
                                       None,
                                       gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
                                       (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
                                        gtk.STOCK_OPEN, gtk.RESPONSE_OK))
        dialog.set_default_response(gtk.RESPONSE_OK)
        response = dialog.run()
        if response == gtk.RESPONSE_OK:
            print dialog.get_filename()
        elif response == gtk.RESPONSE_CANCEL:
            pass
        dialog.destroy()

the combo box
-------------

:ref:`combo`


combos
-------

:doc:`gtkCombo`
