como obter janela com fundo desfocado semi-transparente

Eu gostaria de obter uma janela que tenha um plano de fundo semitransparente, como o que o Terminal pode fazer. Veja este vídeo, cerca de 30 segundos, para ver o que quero dizer:http://www.youtube.com/watch?v=zo8KPRY6-Mk

Veja uma imagem aqui:http://osxdaily.com/wp-content/uploads/2011/04/mac-os-x-lion-terminal.jpg

Eu estive pesquisando por uma hora e não consigo fazer nada funcionar. Eu acredito que eu preciso de alguma forma criar uma camada de animação do núcleo e adicionar um filtro de fundo, mas eu não tive sucesso até agora ... Acabei de ver o fundo cinza da minha janela. Aqui está o código que eu tenho até agora:

Código:

//  Get the content view -- everything but the titlebar.
NSView *theView = [[self window] contentView];
[theView setAlphaValue:0.5];

// Create core animation layer, with filter
CALayer *backgroundLayer = [CALayer layer];
[theView setWantsLayer:YES];
[theView setLayer:backgroundLayer]; 
CIFilter *blurFilter = [CIFilter filterWithName:@"CIGaussianBlur"];
[blurFilter setDefaults];
[theView layer].backgroundFilters = [NSArray arrayWithObject:blurFilter];  
[[theView layer] setBackgroundFilters:[NSArray arrayWithObject:blurFilter]];

Alguma dica ou exemplo para fazer o que estou tentando fazer? Obrigado!

questionAnswers(3)

yourAnswerToTheQuestion