GimpUi.PickButton¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Button (29), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Actionable (5), Gtk.Activatable (6)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
Virtual Methods¶
- Inherited:
Gtk.Button (6), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10), Gtk.Actionable (4), Gtk.Activatable (2)
|
Properties¶
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.Button (6), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Short Description |
|---|---|
This signal is emitted when the user has picked a color. |
Fields¶
- Inherited:
Gtk.Button (6), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class GimpUi.PickButton(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GimpUi.PickButtonis a specialized button. When clicked, it changes the cursor to a color-picker pipette and allows the user to pick a color from any point on the screen.- classmethod new()¶
- Returns:
A new
GimpUi.PickButtonwidget.- Return type:
Creates a new
GimpUi.PickButtonwidget.
- do_color_picked(color) virtual¶
- Parameters:
color (
Gegl.Color) –
Signal Details¶
- GimpUi.PickButton.signals.color_picked(pick_button, color)¶
- Signal Name:
color-picked- Flags:
- Parameters:
pick_button (
GimpUi.PickButton) – The object which received the signalcolor (
Gegl.Color) – pointer to aGegl.Colorstructure that holds the picked color
This signal is emitted when the user has picked a color.