GimpUi.PickButton

const GimpUi = imports.gi.GimpUi;

let pickButton = new GimpUi.PickButton();
  

GimpUi.PickButton is 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.

Hierarchy

  • GObject.Object
    • GObject.InitiallyUnowned
      • Gtk.Widget
        • Gtk.Container
          • Gtk.Bin
            • Gtk.Button
              • GimpUi.PickButton