Class: UI::Button

Inherits:
Control show all
Includes:
Eventable
Defined in:
flow/ui/button.rb

Instance Attribute Summary (collapse)

Method Summary

Methods included from Eventable

#__events__, #on, #trigger

Instance Attribute Details

- (Color) color

Returns the current value of color

Returns:

  • (Color)

    the current value of color



6
7
8
# File 'flow/ui/button.rb', line 6

def color
  @color
end

- (Font) font

Returns the current value of font

Returns:

  • (Font)

    the current value of font



6
7
8
# File 'flow/ui/button.rb', line 6

def font
  @font
end

- (Image) image

Returns the current value of image

Returns:

  • (Image)

    the current value of image



6
7
8
# File 'flow/ui/button.rb', line 6

def image
  @image
end

- (String) title

Returns the current value of title

Returns:

  • (String)

    the current value of title



6
7
8
# File 'flow/ui/button.rb', line 6

def title
  @title
end