<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=Dabo.ui.callAfterInterval</id>
	<title>Dabo.ui.callAfterInterval - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=Dabo.ui.callAfterInterval"/>
	<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=Dabo.ui.callAfterInterval&amp;action=history"/>
	<updated>2026-11-21T22:11:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://wiki.dabo.leafe.com/index.php?title=Dabo.ui.callAfterInterval&amp;diff=4138&amp;oldid=prev</id>
		<title>Ed at 14:19, 14 May 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=Dabo.ui.callAfterInterval&amp;diff=4138&amp;oldid=prev"/>
		<updated>2020-05-14T14:19:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:19, 14 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The first purpose listed above is simply a way to delay a function without having to go through the bother of creating and managing a timer. The framework handles that for you.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The first purpose listed above is simply a way to delay a function without having to go through the bother of creating and managing a timer. The framework handles that for you.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The second usage is a way to make sure that a function is only executed once in a given time period. For example, if you have several controls that could potentially send a message to a form to carry out a processor-intensive function in a tight loop, use callAfterInterval() with a reasonable interval to ensure that the expensive function is only executed once.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The second usage is a way to make sure that a function is only executed once in a given time period. For example, if you have several controls that could potentially send a message to a form to carry out a processor-intensive function in a tight loop, use &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;callAfterInterval()&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;with a reasonable interval to ensure that the expensive function is only executed once.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ed</name></author>
	</entry>
	<entry>
		<id>https://wiki.dabo.leafe.com/index.php?title=Dabo.ui.callAfterInterval&amp;diff=4137&amp;oldid=prev</id>
		<title>Ed: Created page with &quot;== Signature: ==  &lt;syntaxhighlight lang=&quot;python&quot;&gt; dabo.ui.callAfterInterval(interval, func, *args, **kwargs) &lt;/syntaxhighlight&gt;  == Description: == This function serves two pu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=Dabo.ui.callAfterInterval&amp;diff=4137&amp;oldid=prev"/>
		<updated>2020-05-14T14:18:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Signature: ==  &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt; dabo.ui.callAfterInterval(interval, func, *args, **kwargs) &amp;lt;/syntaxhighlight&amp;gt;  == Description: == This function serves two pu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Signature: ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
dabo.ui.callAfterInterval(interval, func, *args, **kwargs)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description: ==&lt;br /&gt;
This function serves two purposes:&lt;br /&gt;
&lt;br /&gt;
* When you need for something to happen after a given delay&lt;br /&gt;
* When you may get multiple calls to the same function within a given period, and you only want it to execute once.&lt;br /&gt;
&lt;br /&gt;
== Returns: ==&lt;br /&gt;
&amp;lt;code&amp;gt;None&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Comments: ==&lt;br /&gt;
The interval parameter is in milliseconds (e.g. 2000 = 2 seconds)&lt;br /&gt;
&lt;br /&gt;
The first purpose listed above is simply a way to delay a function without having to go through the bother of creating and managing a timer. The framework handles that for you.&lt;br /&gt;
&lt;br /&gt;
The second usage is a way to make sure that a function is only executed once in a given time period. For example, if you have several controls that could potentially send a message to a form to carry out a processor-intensive function in a tight loop, use callAfterInterval() with a reasonable interval to ensure that the expensive function is only executed once.&lt;/div&gt;</summary>
		<author><name>Ed</name></author>
	</entry>
</feed>