doc: update layout and widget interface documentation
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 34s

This commit is contained in:
2024-11-12 23:41:14 +01:00
parent 28817d468a
commit 80459a51b1
2 changed files with 10 additions and 14 deletions

View File

@@ -1,9 +1,9 @@
//! Dynamic dispatch for widget implementations.
//! Each `Widget` has to implement the `WidgetInterface`
//! Dynamic dispatch for widget implementations. Each `Widget` has to implement
//! the `Widget.Interface`.
//!
//! Create a `Widget` using `createFrom(object: anytype)` and use them through
//! the defined interface. The widget will take care of calling the correct
//! implementation of the corresponding underlying type.
//! the defined `Widget.Interface`. The widget will take care of calling the
//! correct implementation of the corresponding underlying type.
//!
//! Each `Widget` may cache its content and should if the contents will not
//! change for a long time.