Method: GGLib::Label#initialize

Defined in:
lib/ext/widgets.rb

#initialize(name, text, x, y, theme = Themes::blank) ⇒ Label

Returns a new instance of Label.



340
341
342
343
# File 'lib/ext/widgets.rb', line 340

def initialize(name, text, x, y, theme = Themes::blank)
  @text = text
  super(name,x,y,x+100,y+30,theme)
end