libgimp/gimpdrawablecombobox.c libgimp/gimpimagecombobox.c
2004-04-21 Sven Neumann <sven@gimp.org> * libgimp/gimpdrawablecombobox.c * libgimp/gimpimagecombobox.c * libgimp/gimppixbuf.c * libgimpwidgets/gimpintcombobox.c * libgimpwidgets/gimpintstore.c: API documentation.
This commit is contained in:
committed by
Sven Neumann
parent
7d965d4213
commit
c15dc68d2a
@ -45,6 +45,24 @@ static void gimp_image_combo_box_model_add (GtkListStore *store
|
||||
static void gimp_image_combo_box_model_add_none (GtkListStore *store);
|
||||
|
||||
|
||||
/**
|
||||
* gimp_image_combo_box_new:
|
||||
* @constraint: a #GimpImageConstraintFunc or %NULL
|
||||
* @data: a pointer that is passed to @constraint
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Return value: a new #GimpIntComboBox.
|
||||
*
|
||||
* Since: GIMP 2.2
|
||||
**/
|
||||
GtkWidget *
|
||||
gimp_image_combo_box_new (GimpImageConstraintFunc constraint,
|
||||
gpointer data)
|
||||
|
||||
Reference in New Issue
Block a user