documentation index ◦ reference manual ◦ function index

# ui.pausebehavior

Function: | ui.pausebehavior | (delay, result=False):

This is a pseudo-widget that adds the pause behavior to the screen. The pause behavior is to return the supplied result when the given number of seconds elapses. This widget should not be added to any other widget, but should instead be only added to the screen itself.

Please note that this widget will always pause for the given amount of time. If you want a pause that can be interrupted by the user, add in a saybehavior.

delay - The amount of time to pause, in seconds.

result - The result that will be retuned after the delay time elapses.

## Example

    TODO

documentation index ◦ reference manual ◦ function index