Skip to content

Conversation

@blueyed
Copy link
Contributor

@blueyed blueyed commented Oct 3, 2018

This is useful in case you want to change the timeout value for a
registered widget, e.g. from the format callback function.

I am using this to have a shorter timeout interval for the temperature
widget when its value is above some threshold.

TODO:

  • this is based on an older version of vicious, and not working as expected currently. Need to fix it.
    It appears to trigger some internal weird issue when enter/leave is triggered for tooltips (already undefined function in the callback or something similar?!)

@blueyed blueyed changed the title Add vicious.change_timer: a helper to change the timeout [WIP] Add vicious.change_timer: a helper to change the timeout Oct 3, 2018
This is useful in case you want to change the timeout value for a
registered widget, e.g. from the format callback function.

I am using this to have a shorter timeout interval for the temperature
widget when its value is above some threshold.

Signed-off-by: Daniel Hahler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant