GimpUi.ImageComboBox¶
- Subclasses:
None
Methods¶
- Inherited:
GimpUi.IntComboBox (11), Gtk.ComboBox (40), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.CellEditable (3), Gtk.CellLayout (9)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
Virtual Methods¶
Properties¶
Style Properties¶
- Inherited:
Signals¶
Fields¶
Class Details¶
- class GimpUi.ImageComboBox(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A widget providing a popup menu of images.
- classmethod new(constraint)¶
- Parameters:
constraint (
GimpUi.ImageConstraintFuncorNone) – AGimpUi.ImageConstraintFuncorNone- Returns:
a new
GimpUi.IntComboBox.- Return type:
Creates a new
GimpUi.IntComboBoxfilled with all currently opened images. If a constraint function is specified, it is called for each image and only if the function returnsTrue, the image is added to the combobox.You should use
GimpUi.IntComboBox.connect() to initialize and connect the combo. UseGimpUi.IntComboBox.set_active() to get the active image ID andGimpUi.IntComboBox.get_active() to retrieve the ID of the selected image.New in version 2.2.