class Interphase::Label
A text label.
Public Class Methods
new(text = '', **options, &block)
click to toggle source
Creates a new label.
Calls superclass method
Interphase::Widget::new
# File lib/interphase/widgets/label.rb, line 9 def initialize(text = '', **options, &block) super(Gtk::Label.new(text), options, &block) end
Public Instance Methods
text()
click to toggle source
Retrieve the label's text.
# File lib/interphase/widgets/label.rb, line 19 def text gtk_instance.text end
text=(value)
click to toggle source
Set the text in this label.
# File lib/interphase/widgets/label.rb, line 14 def text=(value) gtk_instance.text = value end