/* call-seq: * window.close() * * Close the window and destroy all the attached resources. * * After calling this function, the SFML::Window instance remains valid and you can call SFML::Window#create to recreate * the window. All other functions such as getEvent or display will still work (i.e. you don't have to test * isOpened every time), and will have no effect on closed windows. */ static VALUE Window_Close( VALUE self ) { sf::Window *object = NULL; Data_Get_Struct( self, sf::Window, object ); object->Close(); return Qnil; }