Class: Newt::TextboxReflowed
Class Method Summary collapse
Methods inherited from Widget
Class Method Details
.new(left, top, text, width, flexDown, flexUp, flags) ⇒ Object
813 814 815 816 817 818 819 820 |
# File 'ext/ruby_newt/ruby_newt.c', line 813 static VALUE rb_ext_TextboxReflowed_new(VALUE self, VALUE left, VALUE top, VALUE text, VALUE width, VALUE flexDown, VALUE flexUp, VALUE flags) { newtComponent co; co = newtTextboxReflowed(NUM2INT(left), NUM2INT(top), StringValuePtr(text), NUM2INT(width), NUM2INT(flexDown), NUM2INT(flexUp), NUM2INT(flags)); return Data_Wrap_Struct(self, 0, 0, co); } |