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
This constructor is renamed to () in language bindings.
Parameters
n_values-
Type:
gintThe number of values.
labels-
Type: An array of
gchar*An array of labels.
The length of the array is specified in the n_valuesargument.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. |