Constructor

GimpUiIntComboBoxnew_array

since: 2.2

Declaration [src]

GtkWidget*
gimp_int_combo_box_new_array (
  gint n_values,
  const gchar** labels
)

Description [src]

A variant of gimp_int_combo_box_new() that takes an array of labels. The array indices are used as values.

Available since: 2.2

Parameters

n_values

Type: gint

The number of values.

labels

Type: An array of gchar*

An array of labels.

The length of the array is specified in the n_values argument.
The data is owned by the caller of the function.
Each element is a NUL terminated UTF-8 string.

Return value

Type: GtkWidget

A new GimpIntComboBox.

The data is owned by the called function.