[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( since = "2.6" ) ]
public FileChooserButton.with_dialog (Dialog dialog)
Creates a FileChooserButton widget which uses dialog
as its
file-picking window.
Note that dialog
must be a Dialog (or subclass) which implements the
FileChooser interface and must not have
gtk_dialog_destroy_with_parent set.
Also note that the dialog needs to have its confirmative button added with response gtk_response_accept or gtk_response_ok in order for the button to take over the file selected in the dialog.
dialog |
the widget to use as dialog |
a new button widget. |