# File ext/widgets.rb, line 313
  def initialize(name, text, x, y, onClickPrc=Proc.new{}, theme = Themes::blank)
    super(name, x, y, x+100, y+30, theme)
    @text=text
    @onClickPrc=onClickPrc
    @drawx=x+((100-@theme.font.default.text_width(@text))/2).floor
    @drawy=y+((30-@theme.font.default.height)/2).floor
  end