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: qc from dashboard?



Ah yes, in the spirit of confusing docs, the Dashboard Programming Guide Widget "Property List" section doesn't list the key, but the Dashboard Reference "Info.plist keys" list does -- "AllowInternetPlugins" is its name.  Oddly, once I set that to true, I get and "invalid drawable" error on my console log, though the composer file and QCView definitely loaded (I can tell because I can access input keys from the dashboard widget) so I'll have to investigate that one further.

The obscure "Invalid drawable" error means that OpenGL is trying to draw to a surface on screen that is not available. Basically, the QCView is trying to render while its window is not on screen (yet).
You probably need to turn off "autostart rendering" and call -startRendering manually once the widget is on screen (maybe from the widget _javascript_ code?).


________________________________________________________

Pierre-Olivier Latour                            email@hidden

Quartz Composer Architect                Graphic & Imaging Team


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

This email sent to email@hidden

References: 
 >qc from dashboard? (From: Mike Schrag <email@hidden>)
 >Re: qc from dashboard? (From: Pierre-Olivier Latour <email@hidden>)
 >Re: qc from dashboard? (From: Mike Schrag <email@hidden>)
 >Re: qc from dashboard? (From: Pierre-Olivier Latour <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.