testing
Fields
Types
Functions
- moveTo
Moves the mouse to the center of the widget
- click
Presses and releases the button at the current mouse position
- settle
Runs frames until
dvui.refreshwas not called.- step
Runs exactly one frame, returning the wait_time from
dvui.Window.end.- capturePng
Captures one frame and return the png data for that frame.
- snapshot
Runs exactly one frame, creating a hash of the state of that frame and compares to an earilier saved hash,
- saveImage
Internal use only!
Constants
- is_dvui_doc_gen_runner
Used internally for documentation generation
Variables
- widget_hasher
Used to hash widget data during a frame for snapshot testing