Changing Window Styles
The Attributes pane of the Info window lets you inspect and customize each element in an application’s interface. In the following steps, you’ll discover how to change a window’s style. Changing styles demonstrates how to find and use the items within the Attributes pane to change the way an interface item acts.
This example walks you through the process of changing the Terminal’s window style from its traditional look to the metal theme used by iMovie, iTunes, and other iApps that ship with Mac OS X. As you’ll see, it takes just a few steps to find, open, and customize the NIB file for the Terminal’s main window.
Open a new Finder window by either clicking on the Finder’s icon in the Dock, or selecting File → New Finder Window (⌘ -N) from the menu bar.
Change directories to the Utilities folder (Shift-⌘ -U).
Select the Terminal application. Remember that you made a copy of the application. Do not select the copy (named Terminal copy); it is your backup.
Control-click (right-click) on the Terminal and choose Show Package Contents from the contextual menu. A new browser window appears showing just one folder, named Contents.
In the new Finder window, choose View → as Columns (⌘-3). Column view makes it easier to navigate through the application’s subfolders.
Warning
Duplicating an application can change the copy’s ownership from
root:admintouser-name:admin. Keep this in mind while working through the examples in this book and, if desired, change the ownership with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access