Class: Newt::CompactButton
Class Method Summary collapse
Methods inherited from Widget
#==, #callback, #get_position, #get_size, #inspect, #takes_focus
Class Method Details
.new(left, top, text) ⇒ Object
| 886 887 888 889 890 891 892 893 | # File 'ext/ruby_newt/ruby_newt.c', line 886
static VALUE rb_ext_CompactButton_new(VALUE self, VALUE left, VALUE top, VALUE text)
{
  newtComponent co;
  INIT_GUARD();
  co = newtCompactButton(NUM2INT(left), NUM2INT(top), StringValuePtr(text));
  return Make_Widget(self, co);
} |