FileChooser.setChoice

void setChoice(string id, string option)

Selects an option in a 'choice' that has been added with [gtk.file_chooser.FileChooser.addChoice].

For a boolean choice, the possible options are "true" and "false".

Parameters

idthe ID of the choice to set
optionthe ID of the option to select

Deprecated

Use [gtk.file_dialog.FileDialog] instead