[go: up one dir, main page]

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 character input event (pressed or released).
  • Simulate a click on a position within the component.