Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Widget's webview question



While Michael's method does work (and it's well-written), for the record we recommend using a proper web plug-in to achieve this end.  I don't want to throw anybody under the bus but in the event that some under-the-covers detail of widget plug-ins (initWithWebView et al) were to change, this technique may leave you in the cold.

The key question should be what are you trying to access.  If you want native, non-visual data/API services, write a widget plug-in.  If you want native, visual services, write a web plug-in.  The additional advantage of a web plug-in is that it could be used in Safari as well as Dashboard.

Also have a look at the canvas extension provided by WebKit; it may be able to do what you need using "pure" _javascript_.  Canvas of course is just a 2D renderer and I think the original question was re: OpenGL.

md

----------------------------------------------

Matt Drance

DTS Engineer

Java - Dashboard - Address Book

email@hidden


On Jun 10, 2005, at 1:52 PM, Michael Marmarou wrote:

I wrote a paper explaining this, and that it is easy to do.  Sure you
can put just about anything you want in there, but that does not mean
it will work the way you want, or will maintain the look and feel of
dashboard.



Michael Marmarou
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Widget's webview question (From: Michael Marmarou <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.