Revision: 4727
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at January 17, 2008 19:47 by Netzach
                            
                            Initial Code
# Animates the window fade-out in 0.5 second.
def fadeOutWindow(windowOutlet)
  x = 0
  while x < 10
    windowOutlet.setAlphaValue(windowOutlet.alphaValue - 0.1)
    x += 1
    sleep(0.05)
  end
end
                                Initial URL
Initial Description
Initial Title
Animate a fade-out of a NSWindow with RubyCocoa
Initial Tags
textmate, ruby
Initial Language
Ruby