This page describes the sample gadgets in the SDK, with links to where you can find more information.
Path Under api/samples/gadgets |
Description | See Also |
---|---|---|
Animations/ |
Demonstrates a popular animation technique: fade-in & fade-out | Animation |
Audio/ |
Demonstrates how to play audio in a Desktop gadget |
framework.audio ,
button
|
ColorMultiply/ |
Demonstrates changing an image's color at runtime |
img.colorMultiply ,
radio
|
ComboboxEditable/ |
Demonstrates an editable combobox control
|
combobox ,
button
|
ComboboxUneditable/ |
Demonstrates an uneditable combobox control
|
combobox
|
DragDrop/ |
Demonstrates drag and drop events | drag/drop |
EventAPI/ |
Demonstrates how to use the Event API | Event API |
FlashMovie/ |
Demonstrates how to embed flash movies |
Flash,
object
|
HelloWorld/ |
The most amazing piece of code you've ever seen | Modifying Hello World |
HelloWorldVBS/ |
Hello World in VBScript | |
HorizontalScrollbar/ |
Demonstrates how to use a horizontal scroll bar |
scrollbar
|
HtmlDetailsView/ |
Demonstrates how to use the HTML-style details view |
DetailsView ,
HTML
|
HybridYesNoCancel/ |
Demonstrates how to create a hybrid gadget | Hybrid gadgets |
IdealBoundingRect/ |
Demonstrates the idealBoundingRect property of the edit element
|
edit.idealBoundingRect ,
button
|
ImageManipulation/ |
Shows image manipulations supported in Desktop gadgets |
img.colorMultiply ,
img.cropMaintainAspect
|
ListBox/ |
Demonstrates how to use a listbox
|
listbox
|
MenuItems/ |
Demonstrates how to add menu items to a gadget and how to process menu item events |
menu
|
OptionsDialog/ |
Demonstrates how to show an options dialog |
Options dialog,
options ,
checkbox ,
button
|
PersonalizationAPI/ |
Demonstrates the Personalization API |
google.pers.data.getZipCode() ,
google.pers.data.getPopularTopics(numTopics) ,
Personalization API
|
QueryAPI/ |
Demonstrates how to use the Query API to list music files on your computer | Query API |
Resizing/ |
Demonstrates a resizable gadget | Resizing |
Rss/ |
Demonstrates how to retrieve and display an RSS or ATOM feed | RSS |
ScrollingDiv/ |
Demonstrates how to use an autoscrolling div element
|
scrolling,
div
|
TalkCommunication/ |
Demonstrates how to communicate between people using the Communication API | Communication API |
WordADay/ |
Simple example of contentarea and ContentItems
|
contentarea ,
ContentItem
|
XmlDetailsView/ |
Demonstrates using an XML-specified details view |
DetailsView ,
listbox
|
XMLHttpRequest/ |
Demonstrates how to use XMLHttpRequest to download and dynamically display an image |
XMLHttpRequest,
img
|
demos/DigitalClockFont/ |
A themable clock that uses a custom packaged font for the LCD display |
Custom fonts,
options
|
demos/KissMe/ |
Fun Valentine's day themed gadget that showcases multimedia capabilities of the API |
framework.audio ,
options ,
drag/drop
|
demos/MemoryGame/ |
Inspired by a classic memory game |
framework.audio ,
button
|
demos/WifiSelector/ |
Demonstrates the wireless API |
system.network.wireless ,
progressbar ,
menu
|