setChoice

open fun setChoice(id: String, option: String)

Selects an option in a 'choice' that has been added with gtk_file_chooser_add_choice().

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

Parameters

id

the ID of the choice to set

option

the ID of the option to select