Method

GtkFileChooserset_choice

since: 3.22

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”.

Available since: 3.22

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.