Merge pull request #2272 from iced-rs/export-clipboard-module

Export `clipboard` module in `advanced` module
This commit is contained in:
Héctor Ramón 2024-02-21 06:46:24 +01:00 committed by GitHub
commit 7a4e86a7ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- `extend` and `from_vec` methods for `Column` and `Row`. [#2264](https://github.com/iced-rs/iced/pull/2264)
- `PartialOrd`, `Ord`, and `Hash` implementations for `keyboard::Modifiers`. [#2270](https://github.com/iced-rs/iced/pull/2270)
- `clipboard` module in `advanced` module. [#2272](https://github.com/iced-rs/iced/pull/2272)
### Fixed
- Black images when using OpenGL backend in `iced_wgpu`. [#2259](https://github.com/iced-rs/iced/pull/2259)

View file

@ -1,4 +1,5 @@
//! Leverage advanced concepts like custom widgets.
pub use crate::core::clipboard::{self, Clipboard};
pub use crate::core::image;
pub use crate::core::layout::{self, Layout};
pub use crate::core::mouse;
@ -7,7 +8,7 @@ pub use crate::core::renderer::{self, Renderer};
pub use crate::core::svg;
pub use crate::core::text::{self, Text};
pub use crate::core::widget::{self, Widget};
pub use crate::core::{Clipboard, Hasher, Shell};
pub use crate::core::{Hasher, Shell};
pub use crate::renderer::graphics;
pub mod subscription {