Method

GtkDialogset_alternative_button_order_from_array

deprecated: 3.10 since: 2.6

Declaration [src]

void
gtk_dialog_set_alternative_button_order_from_array (
  GtkDialog* dialog,
  gint n_params,
  gint* new_order
)

Description [src]

Sets an alternative button order. If the GtkSettings:gtk-alternative-button-order setting is set to TRUE, the dialog buttons are reordered according to the order of the response ids in new_order.

See gtk_dialog_set_alternative_button_order() for more information.

This function is for use by language bindings.

Available since: 2.6

Deprecated since: 3.10

Deprecated.

Parameters

n_params

Type: gint

The number of response ids in new_order.

new_order

Type: An array of gint

An array of response ids of dialog’s buttons.

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