Method
GtkFileChooserset_choice
deprecated: 4.10
[−]
Declaration [src]
void
gtk_file_chooser_set_choice (
GtkFileChooser* chooser,
const char* id,
const char* option
)
[−]
Description [src]
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”.
Deprecated since: 4.10
Use GtkFileDialog
instead.
[−]
Parameters
id
-
Type:
const char*
The ID of the choice to set.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. option
-
Type:
const char*
The ID of the option to select.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.