haussmann 0.0.3

Integrate highly customisable widgets and themes for any Rust application or GUI library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// This file is part of "haussmann"
// Under the MIT License
// Copyright (c) 2023 Antonin Hérault

//! Controllers are wrappers for [`Widget`s](crate::Widget) having a function
//! to call when a certain event happen.
//!
//! For example, to detect a widget has been tapped, there would be a wrapper
//! like:
//! ```
//! TapDetector {
//!     widget // Widget
//!     on_tap // function
//! }
//! ```
//! This controller actually exists and it is [`tap::Detector`].

pub mod tap;