On 5/6/11 8:46 AM, John Fabiani wrote: > On Friday, May 06, 2011 08:44:02 am Ed Leafe wrote: >> callAfterInterval() is designed to catch identical calls that occur within >> the specified interval, and only make one call once the interval passes > > Thanks that's what I needed to know. I knew there was something out there > that only fired once - just could not recall the details. Again Thanks!
Note that if you make calls with different argument signatures, more than one call will be made, because I think that would be in line with what the appdev would expect. For instance: dabo.ui.callAfterInterval(100, myFunc, myArg=True) dabo.ui.callAfterInterval(100, myFunc, myArg=True) Results in one call. But: dabo.ui.callAfterInterval(100, myFunc, myArg=True) dabo.ui.callAfterInterval(100, myFunc, myArg=False) Results in two calls. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
