Method

GtkFileChooserset_choice

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

Parameters

id

Type: const char*

The ID of the choice to set.

The data is owned by the caller of the function.
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 function.
The value is a NUL terminated UTF-8 string.