Method: Newt::Screen.open_window
- Defined in:
- ext/ruby_newt/ruby_newt.c
.open_window(left, top, width, height, title) ⇒ Object
240 241 242 243 244 245 246 |
# File 'ext/ruby_newt/ruby_newt.c', line 240 static VALUE rb_ext_Screen_OpenWindow(VALUE self, VALUE left, VALUE top, VALUE width, VALUE height, VALUE title) { INIT_GUARD(); return INT2NUM(newtOpenWindow(NUM2INT(left), NUM2INT(top), NUM2INT(width), NUM2INT(height), StringValuePtr(title))); } |