gimpimagecombobox 3 LIBGIMP Library gimpimagecombobox A widget providing a popup menu of images. Synopsis GimpImageComboBox; gboolean (*GimpImageConstraintFunc) (gint32 image_id, gpointer data); GtkWidget* gimp_image_combo_box_new (GimpImageConstraintFunc constraint, gpointer data); Object Hierarchy GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkComboBox +----GimpIntComboBox +----GimpImageComboBox Implemented Interfaces GimpImageComboBox implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable. Description A widget providing a popup menu of images. Details <anchor id="GimpImageComboBox-struct" role="struct"/>GimpImageComboBox GimpImageComboBoxtypedef struct _GimpImageComboBox GimpImageComboBox; <anchor id="GimpImageConstraintFunc" role="function"/>GimpImageConstraintFunc () GimpImageConstraintFuncgboolean (*GimpImageConstraintFunc) (gint32 image_id, gpointer data); image_id : data : Returns : <anchor id="gimp-image-combo-box-new" role="function" condition="since:GIMP 2.2"/>gimp_image_combo_box_new () gimp_image_combo_box_newGtkWidget* gimp_image_combo_box_new (GimpImageConstraintFunc constraint, gpointer data); Creates a new GimpIntComboBox 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 gimp_int_combo_connect() to initialize and connect the combo. Use gimp_int_combo_box_set_active() to get the active image ID and gimp_int_combo_box_get_active() to retrieve the ID of the selected image. constraint : a GimpImageConstraintFunc or NULL data : a pointer that is passed to constraint Returns : a new GimpIntComboBox. Since GIMP 2.2