Not Recommended Documentclose button

Important: The information in this document is Not Recommended and should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2005-06-01

Build Requirements: Mac OS X 10.4 or later

Runtime Requirements: Mac OS X 10.4 or later

View Source Code:

Download Sample (“”, 165.3K)
Download Sample (“Fortune.dmg”, 186.5K)


This sample is deprecated in favor of newer projects. Please see the Birthdays sample to learn about writing widget plug-ins.

This sample widget uses a plug-in to communicate strings between Objective-C and JavaScript. It is identical to the widget found in /Developer/Examples/Dashboard/ on Mac OS X 10.4.

Document Revision History

Date Notes
2005-06-01Demonstrates use of a widget plug-in

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.