Function
GimpUiprop_string_combo_box_new
since: 2.4
Declaration [src]
GtkWidget*
gimp_prop_string_combo_box_new (
GObject* config,
const gchar* property_name,
GtkTreeModel* model,
gint id_column,
gint label_column
)
Description [src]
Creates a GimpStringComboBox widget to display and set the
specified property. The contents of the widget are determined by
store.
Available since: 2.4
Parameters
config-
Type:
GObjectObject to which property is attached.
The data is owned by the caller of the function. property_name-
Type:
const gchar*Name of int property controlled by combo box.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. model-
Type:
GtkTreeModelGtkTreeStoreholding list of values.The data is owned by the caller of the function. id_column-
Type:
gintColumn in
storethat holds string IDs. label_column-
Type:
gintColumn in
storethat holds labels to use in the combo-box.
Return value
Type: GtkWidget
The newly created GimpStringComboBox widget.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |