Type Alias: RenderResult
RenderResult =
BoundQueries&object
Defined in: types.ts:154
Result returned by render.
Provides query methods and utilities for testing rendered components.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
baseElement | Container | The element queries are bound to (defaults to the GTK Application) | types.ts:158 |
container | Gtk.Widget | The direct container widget wrapping the rendered content | types.ts:156 |
debug() | () => void | Print the widget tree to console for debugging | types.ts:164 |
rerender() | (element) => Promise<void> | Re-render with a new element | types.ts:162 |
unmount() | () => Promise<void> | Unmount the rendered component | types.ts:160 |