class UIng::ColorButton

Defined in:

uing/color_button.cr

Constructors

Instance Method Summary

Instance methods inherited from class UIng::Control

__parent__ __parent__, __set_parent__(parent) : Nil __set_parent__, delete(child : Control) delete, destroy : Nil destroy, disable : Nil disable, enable : Nil enable, enabled? : Bool enabled?, enabled_to_user? : Bool enabled_to_user?, handle handle, hide : Nil hide, parent : Control | Nil parent, show : Nil show, to_unsafe to_unsafe, toplevel? : Bool toplevel?, verify_set_parent(parent) : Nil verify_set_parent, visible? : Bool visible?

Macros inherited from module UIng::BlockConstructor

block_constructor block_constructor

Constructor Detail

def self.new(*args, &) #

[View source]
def self.new(*args, **kwargs, &) #

[View source]
def self.new #

[View source]

Instance Method Detail

def color : Tuple(Float64, Float64, Float64, Float64) #

[View source]
def destroy #

[View source]
def on_changed(&block : Float64, Float64, Float64, Float64 -> _) #

[View source]
def set_color(r : Float64, g : Float64, b : Float64, a : Float64) : Nil #

[View source]
def to_unsafe : Pointer(Void) #

[View source]