struct Gtk::ColorButton::ColorSetSignal

Overview

Emitted when the user selects a color.

When handling this signal, use Gtk::ColorChooser#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.

Defined in:

auto/gtk-4.0/color_button.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source, detail = nil) #

Instance Method Detail

def [](detail : String) : self #

def connect(&block : Proc(Nil)) #

def connect(handler : Proc(Nil)) #

def connect(handler : Proc(Gtk::ColorButton, Nil)) #

def connect_after(&block : Proc(Nil)) #

def connect_after(handler : Proc(Nil)) #

def connect_after(handler : Proc(Gtk::ColorButton, Nil)) #

def emit : Nil #

def name #