set_choice


Description:

public void set_choice (string id, string option)

Selects an option in a 'choice' that has been added with add_choice.

Note:

Use [class@Gtk.FileDialog] instead

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

Parameters:

this

a `GtkFileChooser`

id

the ID of the choice to set

option

the ID of the option to select