summaryrefslogtreecommitdiffstats
path: root/examples/events/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update all `examples` to Rust 2024Libravatar Héctor Ramón Jiménez2025-02-211-1/+1
|
* Revert `window::close` producing a `window::Id`Libravatar Héctor Ramón Jiménez2024-08-121-4/+2
| | | | | | Instead, subscribing to `window::close_events` is preferable; since most use cases will want to react to the user closing a window as well.
* Make `window::close` return and introduce `Task::discard`Libravatar Héctor Ramón Jiménez2024-08-121-2/+4
|
* Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez2024-07-121-3/+3
|
* Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez2024-07-121-11/+6
|
* Remove `window::Id::MAIN` constantLibravatar Héctor Ramón Jiménez2024-06-201-2/+2
|
* Introduce `daemon` API and unify shell runtimesLibravatar Héctor Ramón Jiménez2024-06-191-1/+1
|
* Replace `Command` with a new `Task` API with chain supportLibravatar Héctor Ramón Jiménez2024-06-141-5/+5
|
* Introduce `window::Id` to `Event` subscriptionsLibravatar Héctor Ramón Jiménez2024-06-101-3/+2
| | | | And remove `window::Id` from `Event` altogether.
* Merge branch 'master' into feat/text-macroLibravatar Héctor Ramón Jiménez2024-05-231-7/+2
|\
| * Introduce `center` widget helperLibravatar Héctor Ramón Jiménez2024-05-031-7/+2
| | | | | | | | | | | | | | | | ... and also make `center_x` and `center_y` set `width` and `height` to `Length::Fill`, respectively. This targets the most common use case when centering things and removes a bunch of boilerplate as a result.
* | refactor: replace `text(format!(` with `text` macroLibravatar Richard Custodio2024-03-181-1/+1
|/
* Move `Program` to `application` moduleLibravatar Héctor Ramón Jiménez2024-03-171-1/+1
|
* Remove `Sandbox` trait :tada:Libravatar Héctor Ramón Jiménez2024-03-171-1/+1
|
* Implement `Program::load` to specify startup `Command`Libravatar Héctor Ramón Jiménez2024-03-161-6/+1
|
* Introduce `Program` APILibravatar Héctor Ramón Jiménez2024-03-161-23/+8
|
* Introduce support for disabling a `checkbox`Libravatar Alexander van Saase2024-02-011-5/+2
|
* Introduce `Widget::size_hint` and fix further layout inconsistenciesLibravatar Héctor Ramón Jiménez2024-01-101-2/+1
|
* Merge branch 'master' into feat/multi-window-supportLibravatar Héctor Ramón Jiménez2023-11-291-4/+6
|\
| * Introduce `keyboard::on_key_press` and `on_key_release`Libravatar Héctor Ramón Jiménez2023-09-071-3/+2
| | | | | | | | Also rename `subscription::events*` to `event::listen*`.
* | refactored window storage;Libravatar Bingus2023-07-211-3/+4
| | | | | | | | | | new helper window events (Destroyed, Created); clippy + fmt;
* | Merge remote-tracking branch 'origin/master' into feat/multi-window-supportLibravatar Bingus2023-07-121-4/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # Cargo.toml # core/src/window/icon.rs # core/src/window/id.rs # core/src/window/position.rs # core/src/window/settings.rs # examples/integration/src/main.rs # examples/integration_opengl/src/main.rs # glutin/src/application.rs # native/src/subscription.rs # native/src/window.rs # runtime/src/window/action.rs # src/lib.rs # src/window.rs # winit/Cargo.toml # winit/src/application.rs # winit/src/icon.rs # winit/src/settings.rs # winit/src/window.rs
| * Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-4/+5
| |
* | Merge remote-tracking branch 'origin/master' into feat/multi-window-supportLibravatar Bingus2023-02-171-1/+1
|\| | | | | | | | | # Conflicts: # winit/src/window.rs
| * Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-171-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into feat/multi-window-supportLibravatar Bingus2023-02-151-1/+1
|\| | | | | | | | | | | | | # Conflicts: # native/src/command/action.rs # native/src/window/action.rs # winit/src/window.rs
| * Fix: Clippy lint 'uninlined_format_args'Libravatar 13r0ck2023-01-271-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into feat/multi-window-supportLibravatar Bingus2023-01-181-15/+13
|\| | | | | | | | | | | | | | | # Conflicts: # examples/events/src/main.rs # glutin/src/application.rs # native/src/window.rs # winit/src/window.rs
| * Draft `Shell:request_redraw` APILibravatar Héctor Ramón Jiménez2023-01-121-13/+11
| | | | | | | | ... and implement `TextInput` cursor blink :tada:
* | add `window::Id` to `Event` and `Action`Libravatar Richard2023-01-091-1/+1
|/
* Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez2022-07-271-16/+15
|
* Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez2022-05-141-3/+7
| | | | RFC: https://github.com/iced-rs/rfcs/pull/6
* Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez2021-09-201-5/+4
|
* Introduce and use `CrossAlign` enum for `Column` and `Row`Libravatar Héctor Ramón Jiménez2021-09-201-4/+4
|
* Make `Command` implementations platform-specificLibravatar Héctor Ramón Jiménez2021-09-021-8/+4
| | | | | | | | | This allows us to introduce a platform-specific `Action` to both `iced_native` and `iced_web` and remove the `Clipboard` from `Application::update` to maintain purity. Additionally, this should let us implement further actions to let users query and modify the shell environment (e.g. window, clipboard, and more!)
* Showcase graceful exiting in `events` exampleLibravatar Héctor Ramón Jiménez2021-03-301-10/+37
|
* Add `clipboard` argument to `Application::update`Libravatar Héctor Ramón Jiménez2021-03-111-3/+7
|
* Make `Application` and `Sandbox` return a `Result`Libravatar Héctor Ramón Jiménez2020-09-081-1/+1
|
* Allow passing external state to `Application::new`Libravatar Héctor Ramón Jiménez2020-03-301-1/+2
|
* Package examples and remove `dev-dependencies`Libravatar Héctor Ramón Jiménez2020-01-201-0/+86