public class FileChooserButton : Box, Implementor, Buildable, FileChooser, Orientable
The FileChooserButton is a widget that lets the user select a file.
It implements the FileChooser interface. Visually, it is a file name with a button to bring up a FileChooserDialog. The user can then use that dialog to change the file associated with that button. This widget does not support setting the select_multiple property to true .
Create a button to let the user select a file in /etc
button = gtk_file_chooser_button_new (_("Select a file"),
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (button),
The FileChooserButton supports the FileChooserAction s gtk_file_chooser_action_open and gtk_file_chooser_action_select_folder.
GtkFileChooserButton has a CSS node with name “filechooserbutton”, containing a subnode for the internal button with name “button” and style class “.file”.