Method

GtkActionGroupadd_radio_actions_full

deprecated: 3.10 since: 2.4

Declaration [src]

void
gtk_action_group_add_radio_actions_full (
  GtkActionGroup* action_group,
  const GtkRadioActionEntry* entries,
  guint n_entries,
  gint value,
  GCallback on_change,
  gpointer user_data,
  GDestroyNotify destroy
)

Description [src]

This variant of gtk_action_group_add_radio_actions() adds a GDestroyNotify callback for user_data.

Available since: 2.4

Deprecated since: 3.10

Please do not use it in newly written code.

This method is not directly available to language bindings.

Parameters

entries

Type: An array of GtkRadioActionEntry

An array of radio action descriptions.

The length of the array is specified in the n_entries argument.
The data is owned by the caller of the method.
n_entries

Type: guint

The number of entries.

value

Type: gint

The value of the action to activate initially, or -1 if no action should be activated.

on_change

Type: GCallback

The callback to connect to the changed signal.

user_data

Type: gpointer

Data to pass to the action callbacks.

The argument can be NULL.
The data is owned by the caller of the method.
destroy

Type: GDestroyNotify

Destroy notification callback for user_data.