2019-08-29 01:35:37 +02:00
|
|
|
//! Use the built-in widgets or create your own.
|
2019-07-20 19:12:31 +02:00
|
|
|
//!
|
2019-08-28 06:45:39 +02:00
|
|
|
//! # Built-in widgets
|
|
|
|
|
//! Every built-in drawable widget has its own module with a `Renderer` trait
|
2019-08-29 01:28:00 +02:00
|
|
|
//! that must be implemented by a [renderer] before being able to use it as
|
|
|
|
|
//! a [`Widget`].
|
2019-08-28 06:45:39 +02:00
|
|
|
//!
|
|
|
|
|
//! # Custom widgets
|
|
|
|
|
//! If you want to implement a custom widget, you simply need to implement the
|
|
|
|
|
//! [`Widget`] trait. You can use the API of the built-in widgets as a guide or
|
|
|
|
|
//! source of inspiration.
|
2019-07-20 19:12:31 +02:00
|
|
|
//!
|
2020-11-25 07:11:27 +01:00
|
|
|
//! [renderer]: crate::renderer
|
2022-07-28 02:46:51 +02:00
|
|
|
mod action;
|
2019-07-20 19:12:31 +02:00
|
|
|
|
2022-07-28 02:46:51 +02:00
|
|
|
pub use action::Action;
|