Commit Graph

13 Commits

Author SHA1 Message Date
263f45d05b Fix View.wait not returning when it times out
This also makes it so it returns the reason why the wait finished.
2021-05-28 00:53:28 -04:00
3f60997630 Add a timeout callback for detecting when a View times out 2021-05-28 00:53:28 -04:00
97f308d219 Add View.remove_item and View.clear_items 2021-05-28 00:53:28 -04:00
3453992ce6 Add View.interaction_check for interaction pre-conditions 2021-05-28 00:53:28 -04:00
65db814d4a Add a way to wait for a view to finish its interactions 2021-05-27 23:31:48 -04:00
6cc3e572ba Button labels can be None 2021-05-27 22:33:13 -04:00
fbafe20e51 Allow View to be instantiated without subclassing 2021-05-27 01:41:18 -04:00
7584834dd4 Only automatically defer if no response was given in callback 2021-05-27 00:53:14 -04:00
5e96ad9261 Force button style to link if a URL is passed 2021-05-27 00:53:14 -04:00
eda6680377 Rename enums to use official API naming 2021-05-27 00:53:14 -04:00
ed9badcddf Make Item and Button generic over the underlying view 2021-05-27 00:53:14 -04:00
4c0ebc9221 Change the way callbacks are defined to allow deriving
This should hopefully make these work more consistently as other
functions do.
2021-05-27 00:53:14 -04:00
98570793e4 Add initial support for buttons and components 2021-05-27 00:53:13 -04:00