Module i_slint_core::tests
source · [−]Expand description
Functions useful for testing
Functions
Simulate a character input event.
Slint animations do not use real time, but use a mocked time. Normally, the event loop update the time of the animation using real time, but in tests, it is more convenient to use the fake time. This function will add some milliseconds to the fake time
Simulate a click on a position within the component.