blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

Richard Griffin's Blog

Converting Dashboard Widgets to Sidebar Gadgets

Jamie and I were chatting yesterday morning about Vista Sidebar Gadgets when he sent me a link to the Sidebar Gadget Development MSDN Forum where chemgirl had posted a new thread "Can someone make a gadget for us chemistry students". I read the post and had a look around the Apple Dashboard Widgets page and found the "The Periodic Table" widget written by Chris Fennell.

Now I have been pondering for a while about writing a tool that will convert Dashboard Widgets into Sidebar Gadgets and I have been looking for an example to play with that will highlight some of the processes that a tool will have to perform in order to convert from one to another and what happens if you want to invert the process and go from a Gadget to a Widget?? A couple of months ago I attempted to convert some Gadgets that I had written to Widgets but all the Gadgets used IE7's RSS platform and this just made it all more difficult.

I was having a couple of problems with Threading in WPF so I thought that I would allow myself a lunch break and see if I could convert the Widget to a Gadget during lunch.

 

 

Rather quickly I was up and running and had managed to convert the Widget to a Gadget. The steps that I followed were:-

  1. Create the .xml file to and update the.
  2. Identify and then Modify the main .js and add some specific Gadget calls to ensure that the size dimensions are correct.
  3. Add the images and modify references.
  4. Modify the css where necessary.
  5. Repackage the gadget.

There is some Fit and Finish to be added to the Gadget, however I ran out of time. There is also the issue of design guidelines that are enforced by Microsoft which are not strictly adhered to. So I have a simple process that I can attempt to code up and run against other Widgets in an attempt at converting Widgets to Gadgets. I will keep you posted as to my progress in this area.

Chemgirl I hope that this helps you out. I have attached the gadget for download.

Published 20 March 2007 10:40 by Richard.Griffin
Attachment(s): theperiodictable.zip

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Julian.RHarris said:

March 21, 2007 08:35
 

ererer said:

What about Yahoo! widgets?  Can you convert Dashboard Widgets into those?

February 23, 2008 01:32
 

Karl Blessing said:

Julian, Amnesty Generator converts only Web Widgets into either sidebar or dashboard widgets, it does NOT convert dashboard into sidebar, or sidebar into dashboard.

July 2, 2008 00:53
 

Windows Vista Sidebar Gadgets - Seite 3 - drvista.de said:

August 30, 2008 03:02
 

Windows Vista Sidebar Gadgets - Seite 3 - drvista.de said:

August 30, 2008 06:19
 

Bob said:

Hello,

I'm curious of your progress on this as I'm currently looking into converting a sidebar gadget into a dashboard widget

October 14, 2008 20:34
 

Richard Griffin's Blog : Converting Dashboard Widgets to Sidebar Gadgets said:

November 26, 2008 17:11

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Personal Edition), by Telligent Systems