Windows Sidebar and Sidebar Gadgets
The Windows Sidebar is the application which allows users to displays gadgets on the sidebar itself and on the Windows desktop. The sidebar supports a number of user configuration options, including remaining behind other windows and being hidden completely. The sidebar is also the method by which users manage gadgets through a Gadget gallery.
The Gadgets themselves are self contained HTML applications which uses JavaScript to provide functional extensibility.
Jeremy gives us the low down on Vista Sidebar Gadgets
How do I build Gadgets?
A gadget is structured by building an HTML application in the following manner:
- The Manifest declares the metadata for the Gadget and the primary HTML file to be used for the interface
- The interface lays out the presentation markup
- CSS and Images are resources that can be used with the markup
- JavaScript allows us to build the functionality into our Gadgets
- We can call out to ActiveX to extend the functionality of our Gadgets
The easiest way to get started with a Gadget is by starting with an existing template. Try this Hello World template to get started.
What could I build?
There are 2 basic purposes for a Gadget - Informational and Functional;
- Informative Gadgets will present source information to be presented through the Gadget interface. This data could come from the local computer environment or from a network resource.
- Functional Gadgets will allow users to interact with their environment either locally or through a remote service.
Advanced functionality can be achieved by integrating with .NET through COM Interop.
Where can I find out more information?