setChoice

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

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.FileDialog instead

---

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