/* call-seq: * window.show( show ) * * Show or hide the window. * * The window is shown by default. */ static VALUE Window_Show( VALUE self, VALUE aShowFlag ) { sf::Window *object = NULL; Data_Get_Struct( self, sf::Window, object ); if( aShowFlag == Qfalse ) { object->Show( false ); } else if( aShowFlag == Qtrue ) { object->Show( true ); } else { rb_raise( rb_eTypeError, "Expected true or false" ); } return Qnil; }