Commit 50dc101
committed
Add vicious.change_timer: a helper to change the timeout
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]>1 parent 6997606 commit 50dc101
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
309 | 320 | | |
310 | 321 | | |
311 | 322 | | |
0 commit comments