/* call-seq:
 *   window.position=( vector2 )
 *
 * 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_SetPosition2( VALUE self, VALUE anArgument )
{
        VALUE argument = Vector2_ForceType( anArgument );
        sf::Window *object = NULL;
        Data_Get_Struct( self, sf::Window, object );
        VALUE argumentX = rb_funcall( argument, rb_intern( "x" ), 0 );
        VALUE argumentY = rb_funcall( argument, rb_intern( "y" ), 0 );
        object->SetPosition( FIX2UINT( argumentX ), FIX2INT( argumentY ) );
        return Qnil;
}