Warning: include_once(/home/ganyard/bithaus.com/wp-content/plugins/lightbox-plugin.php): failed to open stream: Permission denied in /home/ganyard/bithaus.com/wp-settings.php on line 305

Warning: include_once(): Failed opening '/home/ganyard/bithaus.com/wp-content/plugins/lightbox-plugin.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/ganyard/bithaus.com/wp-settings.php on line 305
StyledWindow – Bithaus

Saturday, November 4, 2006


A flexible NSWindow subclass.

Download now available on GitHub <30 Apr 2013>

Update: Default values are now set to something closer to Apple’s Polished Metal Window. Added some comments to AppController.m awakeFromNib method – look there to see how to set things up.

posted by ganyard at 4:16 pm  


  1. […] I found this information when reading about StyledWindow at bithaus. Then I used it to capture one of the icons on my desktop. I assure you the background was quite busy – not white. Go ahead and give it a try. […]

    Pingback by Capture Desktop Icons with Spacebar | NSLog(); — November 5, 2006 @ 1:11 pm

  2. Downloaded, and am indeed enjoying… 🙂

    Comment by Duncan Campbell — November 5, 2006 @ 1:43 pm

  3. Styling NSWindows in Cocoa…

    Bithaus has a handy little chunk of Objective C source code up that provides programmatic capabilities to styling NSWindows. It’s modeled on Matt Gemmell’s snazzy TunesWindow class (which I use in iRooster, by the by), but appears to handle all of it…

    Trackback by Aaron's UI Design Blog — November 28, 2006 @ 1:27 pm

  4. […] Bithaus StyledWindow […]

    Pingback by carpeaqua » Blog Archive » Bithaus StyledWindow — December 20, 2006 @ 6:51 pm

  5. Is there any way to get the unified look for the title bar, yet keep the square edges on the bottom corners?

    Comment by JD — December 14, 2007 @ 2:50 pm

  6. Not without doing a fair bit more drawing yourself.

    IOW: It’s not a capability of this subclass.

    Comment by ganyard — December 14, 2007 @ 4:05 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Copyright © Bithaus