class Opal::UI::RadioButton

Overview

Individual radio button component used within a RadioSet.

Defined in:

opal/ui/components/radio_set.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(label : String, selected : Bool = false, disabled : Bool = false) #

[View source]

Instance Method Detail

def disabled=(disabled : Bool) #

[View source]
def disabled? : Bool #

[View source]
def label : String #

[View source]
def label=(label : String) #

[View source]
def label_fg : Color | Nil #

[View source]
def label_fg=(label_fg : Color | Nil) #

[View source]
def selected=(selected : Bool) #

[View source]
def selected? : Bool #

[View source]
def selected_fg : Color | Nil #

Manipulable styling


[View source]
def selected_fg=(selected_fg : Color | Nil) #

Manipulable styling


[View source]
def selected_glyph : String | Nil #

[View source]
def selected_glyph=(selected_glyph : String | Nil) #

[View source]
def unselected_fg : Color | Nil #

[View source]
def unselected_fg=(unselected_fg : Color | Nil) #

[View source]
def unselected_glyph : String | Nil #

[View source]
def unselected_glyph=(unselected_glyph : String | Nil) #

[View source]