Gtk.FileChooserButton Class
A button to launch a file selection dialog

See Also: FileChooserButton Members


public class FileChooserButton : HBox, FileChooser


The FileChooserButton is a widget that lets the user select a file. It implements the Gtk.FileChooser interface. Visually, it is a file name with a button to bring up a Gtk.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.

The GtkFileChooserButton will ellipsize the label, and thus will thus request little horizontal space. To give the button more space, you should call Widget.SizeRequest(), set FileChooserButton.WidthChars, or pack the button in such a way that other interface elements give space to the widget.


Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions:
Since: Gtk# 2.6