module Gtk::ColorChooser


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:


Class Method Summary

Instance Method Summary

Class Method Detail

def self.g_type : UInt64 #

Instance Method Detail

def add_palette(orientation : Gtk::Orientation, colors_per_line : Int32, colors : Enumerable(Gdk::RGBA)?) : Nil #

def color_activated_signal #

def rgba : Gdk::RGBA #

def rgba=(color : Gdk::RGBA) : Nil #

def rgba=(value : Gdk::RGBA?) : Gdk::RGBA? #

abstract def to_unsafe #

def use_alpha : Bool #

def use_alpha=(use_alpha : Bool) : Nil #

def use_alpha? : Bool #