views:

760

answers:

4

I'm interested in making desktop widgets, similar to Apple's Dashboard or what Vista has. I'd like to make them cross-platform, if possible. Opera's widgets are cross-platform but require the user to have Opera installed, so that's a big limitation.

I know most widgets are made with HTML/XML, CSS, and Javascript. Is there a way to create them using Python?


Update: I did find a site talking about Pyjamas. Does anyone have experience with it and, if so, what are its capabilities/limitations?

A: 

You can check out PyGTK, which will allow you to create desktop widgets, but they won't be managed by OSX's Dashboard. If you'd like to develop an OSX widget, you'll want to stick with HTML/CSS/JavaScript.

Huuuze
A: 

Take a look at pyqt4. It has webkit integration. I was looking into this myself but havent really had time to dig into the API.

+2  A: 

You should take a look at what the guys at Digsby are doing. Basically, they've written a port of WebKit to wxWidgets, and then use WebKit to render the interface, and wxPython for writing the rest of the app. Pretty neat, but very alpha at the moment.

dguaraglia
+1  A: 

Take a look at gDesklets. AFAIK they're UNIX only, but mabybe porting them to other platforms make more sense than starting from scratch?

They use python to create widgets (desklets).

Krzysiek Goj