GimpUi.DrawableComboBox¶
- 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.DrawableComboBox(**kwargs)¶
 - Bases:
 - Abstract:
 No
- classmethod new(constraint)¶
 - Parameters:
 constraint (
GimpUi.ItemConstraintFuncorNone) – AGimpUi.ItemConstraintFuncorNone- Returns:
 a new
GimpUi.IntComboBox.- Return type:
 
Creates a new
GimpUi.IntComboBoxfilled with all currently opened drawables. If a constraint function is specified, it is called for each drawable and only if the function returnsTrue, the drawable 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 drawable ID andGimpUi.IntComboBox.get_active() to retrieve the ID of the selected drawable.New in version 2.2.