mac dashboad

C

Carl K

How do I hang an app off the mac dashboard?

The goal is a python version of Weatherbug.

something like:
read xml data from a URL,
display some numbers,
mouse over shows more details

Carl K
 
P

Paul McNett

Carl said:
Yes. But I don't want to rely on wx - trying to use just native mac python
(whatever they ship with)


Since OSX 10.4, Mac ships with wxPython installed.


Paul
 
C

Chris Mellon

Yes. But I don't want to rely on wx - trying to use just native mac python
(whatever they ship with)


Dashboard widgets are written using HTML and Javascript. They are
rendered by a WebKit instance which, as far as I know, has no
mechanism for Python scripting. Unless it does, you can't write a
widget in Python, and even so you wouldn't use wx (or any other GUI
toolkit) to do so - your display medium is HTML and the Canvas object.
There's lots of articles on developer.apple.com about writing
Dashboard widgets.
 
C

Carl K

Chris said:
Dashboard widgets are written using HTML and Javascript. They are
rendered by a WebKit instance which, as far as I know, has no
mechanism for Python scripting. Unless it does, you can't write a
widget in Python, and even so you wouldn't use wx (or any other GUI
toolkit) to do so - your display medium is HTML and the Canvas object.
There's lots of articles on developer.apple.com about writing
Dashboard widgets.

bah. takes the fun out of it.

Thanks,
Carl K
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top