Héctor Ramón Jiménez
ecc5bfaeff
Improve consistency of window::Action
2023-01-31 04:53:00 +01:00
13r0ck
42b1bfe66d
Fix: Clippy lint 'uninlined_format_args'
2023-01-27 14:02:48 -07:00
Héctor Ramón Jiménez
dd25e93be0
Rename FocusWindow to GainFocus in window::Action
2023-01-02 21:14:41 +01:00
Night_Hunter
81cd0c45b7
Add FocusWindow to window::Action
2023-01-02 21:14:02 +01:00
Night_Hunter
d95b9bf244
Add RequestUserAttention to window::Action
2023-01-02 20:13:42 +01:00
Héctor Ramón Jiménez
b5ab50b2a8
Implement window::close action and remove should_exit
2022-12-15 03:06:04 +01:00
Héctor Ramón
cfcf2017e5
Remove mention of iOS and Android in window::action
2022-12-13 00:13:01 +01:00
Night_Hunter
750fecd6bc
add toggle decorations action
2022-12-10 01:40:53 +13:00
Michael Aaron Murphy
ac6e137be3
feat: Add window minimize support
2022-10-11 21:56:45 +02:00
Michael Aaron Murphy
8a50836ffc
feat: Add window maximize support
2022-10-11 21:56:01 +02:00
Michael Aaron Murphy
7ea7dbef57
feat: Add window drag support from winit
...
Exposes access to the winit window's window_drag method as an action.
2022-10-11 21:39:53 +02:00
Ian Douglas Scott
4a6fd6b5bc
Document that window::Action::Move is unsupported on Wayland
...
https://docs.rs/winit/latest/winit/window/struct.Window.html#method.set_outer_position
notes that this isn't supported on Wayland.
Wayland by design doesn't allow applications to position windows
arbitrarily. GTK4 in comparison removed `gtk_window_move()` (which
naturally didn't work on Wayland).
2022-09-15 12:08:39 -07:00
Héctor Ramón Jiménez
11f5527d76
Implement SetMode and FetchMode window actions
2022-08-18 14:39:15 +02:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
...
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!)
2021-09-02 13:29:34 +07:00