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: A suggestion for a simple modification to the widget object



Sleeping your widget is not something we want you to do ever.  If you need
to wait you should use a timer.

Thanks,
jl

> There is one major thing that is missing from javascript core, and yet
> is extremely simple - we need a widget.sleep(milliseconds) or
> widget.wait(milliseconds) function.  As of right now, the only way to
> emulate this is with burning cpu cycles in a while loop with
> setTimeout.  Of course, it can be done with widget.system calls, but I
> prefer not to use widget.system unless absolutely necessary, since I
> for one have an aversion to running a widget that uses widget.system
> calls (security reasons).
> 
> This would be ridiculously easy to add!
> 
> Please, please, any Apple Dashboard team members, consider adding this!
> 
> Thanks
> Lokkju
> 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

--------------------------------------------------
John Louch         Internet #: 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: 
 >A suggestion for a simple modification to the widget object (From: "Lokkju, Inc Widgets" <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.