|
Chapter 1, “Tiger, Dashboard, and Widgets,” introduces you to Dashboard widgets and explains how they are an integral part of Tiger.Chapter 2, “The Basics of Widgetry,” explains the different parts of a widget. The chapter shows how widgets are constructed by examining the HTML, Cascading Style Sheet, JavaScript, and property list files of the widgets supplied with Tiger. Chapter 3, “Widget Development Environment,” introduces the different development environment options available. In addition to the Xcode development environment supplied with Tiger , you look at using text editors and browsers as your development environment. Chapter 4, “Creating a Widget,” details creating your first widget. In addition to creating the main widget components, you see how to create the back side of the widget for preferences. Chapter 5, “Debugging and Testing,” demonstrates how to use logging, printing, and the JavaScript console in Safari to debug your widget. This chapter also looks into using third-party debugging tools and talks about widget testing. Chapter 6, “Giving a Widget Preferences,” explains providing preferences for user interaction. You learn how to flip a widget to give the user access to the back side of the widget and how to save and load user preferences when the widget opens and closes. Chapter 7, “Widget Events,” walks you through the activation, control, and focus events that provide the widget with a Mac-like user interface. Chapter 8, “Adding to the Widget Interface,” shows you how to provide automatic and manual resizing of a widget. Chapter 9, “Adding Cut, Copy, and Paste to Your Widget,” explains how to use JavaScript events to add cut, copy, and paste capabilities to a widget. Chapter 10, “Adding Drag and Drop to the Widget,” shows you how to add drag-and-drop functionality to the widget. Chapter 11, “Access Keys,” discusses limiting your widget’s access to information from the filesystem, the command line, plugins, and the Internet through access keys. You also learn about widget security. Chapter 12, “Using Plugins and Applets,” shows you how to use Internet plugins and Java applets in a widget. Chapter 13, “Easy Envelopes,” walks you through the Easy Envelopes widget internals to show you how it works. This widget demonstrates the use of the full access key. Chapter 14, “SecureCopy Widget,” creates a widget interface for the scp utilities in BSD. This widget demonstrates the use of the network and system access keys. Chapter 15, “Amazon Album Art,” shows you how the Amazon Album Art widget gets album information from iTunes and retrieves the artwork from Amazon. Chapter 16, “Timbuktu Quick Connect,” shows you how the Timbuktu Quick Connect widget can control Timbuktu. This widget demonstrates the use of the AllowSystem access key and AppleScript. Chapter 17, “iPhoto Mini,” shows you how the iPhoto Mini widget can display your photos without launching iPhoto. Chapter 18, “iTunes Connection Monitor,” shows how the widget is able to display the users connected to your iTunes library and which songs they are playing. Chapter 19, “More Widgets,” shows how the More Widgets widget retrieves and parses the XML feed from the Dashboard Downloads website. Download free mac ox ebook: Beginning Mac OS X Tiger Dashboard Widget Development
|
Operating System
Chapter 1, “Tiger, Dashboard, and Widgets,” introduces you to Dashboard widgets and explains how they are an integral part of Tiger.