Introduce selector flag and decouple iced_widget from iced_runtime
This commit is contained in:
parent
34a42b5ad4
commit
81d1eda7fe
22 changed files with 118 additions and 67 deletions
|
|
@ -327,7 +327,7 @@
|
|||
//! Tasks can also be used to interact with the iced runtime. Some modules
|
||||
//! expose functions that create tasks for different purposes—like [changing
|
||||
//! window settings](window#functions), [focusing a widget](widget::operation::focus_next), or
|
||||
//! [querying its visible bounds](widget::container::visible_bounds).
|
||||
//! [querying its visible bounds](widget::selector::find_by_id).
|
||||
//!
|
||||
//! Like futures and streams, tasks expose [a monadic interface](Task::then)—but they can also be
|
||||
//! [mapped](Task::map), [chained](Task::chain), [batched](Task::batch), [canceled](Task::abortable),
|
||||
|
|
@ -620,15 +620,13 @@ pub mod touch {
|
|||
#[allow(hidden_glob_reexports)]
|
||||
pub mod widget {
|
||||
//! Use the built-in widgets or create your own.
|
||||
pub use iced_runtime::widget::*;
|
||||
pub use iced_widget::*;
|
||||
|
||||
// We hide the re-exported modules by `iced_widget`
|
||||
mod core {}
|
||||
mod graphics {}
|
||||
mod native {}
|
||||
mod renderer {}
|
||||
mod style {}
|
||||
mod runtime {}
|
||||
}
|
||||
|
||||
pub use application::Application;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue