module Gtk::ColorChooser
Overview
Gtk::ColorChooser
is an interface that is implemented by widgets
for choosing colors.
Depending on the situation, colors may be allowed to have alpha (translucency).
In GTK, the main widgets that implement this interface are
Gtk::ColorChooserWidget
, Gtk::ColorChooserDialog
and
Gtk::ColorButton
.
Direct including types
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/color_chooser.crClass Method Summary
Instance Method Summary
- #add_palette(orientation : Gtk::Orientation, colors_per_line : Int32, colors : Enumerable(Gdk::RGBA)?) : Nil
- #color_activated_signal
- #rgba : Gdk::RGBA
- #rgba=(color : Gdk::RGBA) : Nil
- #rgba=(value : Gdk::RGBA?) : Gdk::RGBA?
- #to_unsafe
- #use_alpha : Bool
- #use_alpha=(use_alpha : Bool) : Nil
- #use_alpha? : Bool
Class Method Detail
Instance Method Detail
def add_palette(orientation : Gtk::Orientation, colors_per_line : Int32, colors : Enumerable(Gdk::RGBA)?) : Nil
#