/* call-seq: * window.setPosition( new_x, new_y ) * * Change the position of the window on screen. * * This function only works for top-level windows (i.e. it will be ignored for windows created from the handle of a * child window/control). */ static VALUE Window_SetPosition( VALUE self, VALUE aX, VALUE aY ) { sf::Window *object = NULL; Data_Get_Struct( self, sf::Window, object ); object->SetPosition( FIX2INT( aX ), FIX2INT( aY ) ); return Qnil; }