Commit Graph

3 Commits

Author SHA1 Message Date
Will McGugan
b3eb543e38 unified events and messages 2022-08-10 13:09:38 +01:00
darrenburns
a166d84eef Register callbacks at message pump level, invoke them after refresh (#607)
* Register callbacks at message pump level, invoke them after refresh

* Fix a typo

* Code review feedback actions

* call_later callbacks invoked after refresh or on idle

* Fix space key in text input

* Make Widget.on_idle synchronous

* Fix call_later

* Rename PostScreenUpdate to InvokeCallbacks, and only fire if callbacks exist

* Update type hints for InvokeLater callbacks

* Update type signature of call_later callbacks, extract typevar
2022-08-05 13:47:47 +01:00
Darren Burns
76b39747ca Move files into darren sandbox 2022-06-22 14:02:24 +01:00