Class: Newt::TextboxReflowed
Class Method Summary collapse
Methods inherited from Widget
Class Method Details
.new(left, top, text, width, flexDown, flexUp, flags) ⇒ Object
993 994 995 996 997 998 999 1000 |
# File 'ext/ruby_newt/ruby_newt.c', line 993
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);
}
|