ImageComboBox


Description:

[ CCode ( cname = "gimp_image_combo_box_new" , has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( since = "2.2" ) ]
public ImageComboBox (owned ImageConstraintFunc? constraint)

Creates a new IntComboBox filled with all currently opened images.

If a constraint function is specified, it is called for each image and only if the function returns true, the image is added to the combobox.

You should use connect to initialize and connect the combo. Use set_active to get the active image ID and get_active to retrieve the ID of the selected image.

Parameters:

constraint

A ImageConstraintFunc or null

data

A pointer that is passed to constraint

data_destroy

Destroy function for data.

Returns:

a new IntComboBox.