Class: Newt::CompactButton
Class Method Summary collapse
Methods inherited from Widget
Class Method Details
.new(left, top, text) ⇒ Object
578 579 580 581 582 583 584 |
# File 'ext/ruby_newt/ruby_newt.c', line 578
static VALUE rb_ext_CompactButton_new(VALUE self, VALUE left, VALUE top, VALUE text)
{
newtComponent co;
co = newtCompactButton(NUM2INT(left), NUM2INT(top), StringValuePtr(text));
return Data_Wrap_Struct(self, 0, 0, co);
}
|