Method

GtkAppChooserButtonset_active_custom_item

since: 3.0

Declaration [src]

void
gtk_app_chooser_button_set_active_custom_item (
  GtkAppChooserButton* self,
  const gchar* name
)

Description [src]

Selects a custom item previously added with gtk_app_chooser_button_append_custom_item().

Use gtk_app_chooser_refresh() to bring the selection to its initial state.

Available since: 3.0

Parameters

name

Type: const gchar*

The name of the custom item.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.