Schnittstelle ColorButton.OnColorSet

Umschließende Klasse:
ColorButton
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface ColorButton.OnColorSet
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Emitted when the user selects a color.
  • Methodendetails

    • onColorSet

      void onColorSet()
      Emitted when the user selects a color.

      When handling this signal, use [method@Gtk.ColorChooser.get_rgba]
      to find out which color was just selected.

      Note that this signal is only emitted when the user changes the color.
      If you need to react to programmatic color changes as well, use
      the notify::rgba signal.