Difference between revisions of "Dabo.ui.setAfter"

From Dabo Wiki
Jump to: navigation, search
(Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.setAfter(obj, prop, val) </syntaxhighlight> == Description: == This works just like dabo.ui.callAfter(), but all...")
 
(No difference)

Latest revision as of 14:20, 14 May 2020

Signature:

dabo.ui.setAfter(obj, prop, val)

Description:

This works just like dabo.ui.callAfter(), but allows you to set a property's value instead of calling a function.

Returns:

None

Comments:

Since properties are dynamic, their values can change based upon other events changing. Setting a property early in a GUI event sequence may not have the effect you want, because another event that is processed afterwards changes it again.