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
893 894 895 896 897 898 899 900 |
# File 'ext/ruby_newt/ruby_newt.c', line 893 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); } |