Interface ColorButton.OnColorSet

Enclosing class:
ColorButton
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ColorButton.OnColorSet
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when the user selects a color.
  • Method Details

    • 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.