Héctor Ramón
65ea5fac68
Merge pull request #2502 from iced-rs/button-on-press-with
...
Add `on_press_with` method for `Button`
2024-07-12 12:21:45 +02:00
Héctor Ramón Jiménez
97e35f7d37
Add on_press_with method for Button
...
This allows using a closure to produce the message
only when the `Button` is actually pressed. Useful
when generating the message may be expensive.
2024-07-12 12:10:43 +02:00
Héctor Ramón Jiménez
1c1bee6fd8
Finish window::open only when window fully opens
...
... and run initial `Task` after `window::open` for
applications. This fixes certain race conditions.
2024-07-11 10:44:44 +02:00
Héctor Ramón Jiménez
8c110c1be9
Make window visible after surface creation in iced_winit
2024-07-11 10:21:45 +02:00
Héctor Ramón
c63a81f683
Merge pull request #2269 from dtzxporter/scrollbar-disabled
...
Add a configuration to scrollable to always show the scrollbar. Adds a disabled style for scrollbar.
2024-07-11 08:19:27 +02:00
Héctor Ramón Jiménez
8e9099cdd3
Fix broken doc links in widget::scrollable
2024-07-11 08:11:19 +02:00
Héctor Ramón Jiménez
8ae4e09db9
Add support for embedded scrollbars for scrollable
...
Co-authored-by: dtzxporter <dtzxporter@users.noreply.github.com>
2024-07-11 08:00:58 +02:00
Héctor Ramón
3c55e07668
Merge pull request #2500 from iced-rs/builtin-text-styles
...
Add some built-in text styles for each `Palette` color
2024-07-11 05:11:34 +02:00
Héctor Ramón Jiménez
03e8078f42
Add some built-in text styles for each Palette color
2024-07-11 04:57:40 +02:00
Héctor Ramón
aaab9865c4
Merge pull request #2488 from vladh/remove-scrollable-comment
...
doc: remove extraneous comment
2024-07-11 04:52:03 +02:00
Héctor Ramón
12bebba684
Merge pull request #2499 from iced-rs/scrollable-alignment-helpers
...
Add `align_x` and `align_y` helpers to `Scrollable`
2024-07-11 04:50:11 +02:00
Héctor Ramón
e3726df698
Merge pull request #2498 from iced-rs/iced-widget
...
Add `iced` widget helper to display the iced logo ☄️
2024-07-11 04:43:48 +02:00
Héctor Ramón Jiménez
bec3ca56c3
Add align_x and align_y helpers to Scrollable
2024-07-11 04:37:03 +02:00
Héctor Ramón Jiménez
5e6c9eeb7e
Add iced widget helper to display the iced logo ☄️
2024-07-11 04:33:19 +02:00
Héctor Ramón
d894434237
Merge pull request #2497 from iced-rs/stream-try-channel
...
Introduce `stream::try_channel` helper
2024-07-11 04:18:32 +02:00
Héctor Ramón Jiménez
4ce2a207a6
Introduce stream::try_channel helper
2024-07-11 04:08:40 +02:00
Héctor Ramón
70f44a6e26
Merge pull request #2496 from iced-rs/abortable-tasks
...
Abortable `Task`
2024-07-10 15:42:38 +02:00
Héctor Ramón Jiménez
47f9554a82
Introduce Task::abortable 🎉
2024-07-10 14:44:54 +02:00
Héctor Ramón Jiménez
8efe161e3d
Move docs of future and stream in Task
2024-07-10 14:24:52 +02:00
Héctor Ramón Jiménez
e86920be5b
Remove load method from application and daemon
...
If you need to run a `Task` during boot, use
`run_with` instead!
2024-07-09 00:28:40 +02:00
Héctor Ramón Jiménez
3d99da805d
Implement Default for combo_box::State
2024-07-09 00:27:59 +02:00
Héctor Ramón
acf6daff46
Merge pull request #2321 from PgBiel/select-all
...
Add "Select All" functionality on Ctrl+A to TextEditor
2024-07-08 01:25:41 +02:00
PgBiel
76f5bc2cce
add SelectAll to TextEditor
2024-07-08 01:16:31 +02:00
Héctor Ramón Jiménez
23d9497e7f
Allow future in stream::channel to return
2024-07-08 01:13:22 +02:00
Héctor Ramón
978327f9e7
Merge pull request #2493 from iced-rs/hide-subscription-internals
...
Hide `Subscription` internals
2024-07-05 02:34:39 +02:00
Héctor Ramón Jiménez
c9e0ed7ca4
Expose from_recipe and into_recipes in advanced::subscription
2024-07-05 02:22:56 +02:00
Héctor Ramón Jiménez
0cf096273a
Fix wasm_bindgen backend in iced_futures
2024-07-05 02:19:17 +02:00
Héctor Ramón Jiménez
8bc49cd886
Hide Subscription internals
...
.. and introduce `stream::channel` helper
2024-07-05 02:16:45 +02:00
Héctor Ramón
e50aa03edc
Merge pull request #2492 from iced-rs/hide-internal-task-constructors
...
Hide internal `Task` constructors
2024-07-05 01:24:10 +02:00
Héctor Ramón Jiménez
88611d7653
Hide internal Task constructors
2024-07-05 01:13:28 +02:00
Héctor Ramón Jiménez
2b19471d1c
Simplify subscription::channel example
2024-07-02 19:01:40 +02:00
Vlad-Stefan Harbuz
39c21e9fc2
doc: remove extraneous comment
2024-07-02 14:06:55 +01:00
Héctor Ramón
4687bf7f14
Merge pull request #2485 from vladh/add-quad-border-doc
...
doc: clarify Quad border alignment
2024-06-30 22:57:14 +02:00
Héctor Ramón
f31d1a4dbc
Merge pull request #2487 from vladh/fix-reconcile-typo
...
doc: fix "Reconciles" typo
2024-06-30 22:56:44 +02:00
Vlad-Stefan Harbuz
10ef48c98a
doc: fix "Reconciles" typo
2024-06-30 20:46:04 +01:00
Vlad-Stefan Harbuz
be59ec0ffc
doc: clarify Quad border alignment
2024-06-29 21:39:23 +01:00
Héctor Ramón Jiménez
2ac80f8e9c
Fix window::open_events subscribing to closed events
...
Fixes #2481 .
2024-06-28 23:24:29 +02:00
Héctor Ramón Jiménez
b9eb86199a
Remove unnecessary Send bound in runtime::Action
...
This may fix compilation errors in older versions of Rust.
2024-06-21 21:30:23 +02:00
Héctor Ramón
7344a31010
Merge pull request #2475 from vladh/impl-copy-fill-stroke
...
Implement Copy on Fill and Stroke
2024-06-21 18:44:03 +02:00
Héctor Ramón Jiménez
e8b1e5a112
Fix fonts not being loaded at startup
2024-06-21 15:38:51 +02:00
Vlad-Stefan Harbuz
a7224a7827
Implement Copy on Fill and Stroke
2024-06-21 11:58:35 +01:00
Héctor Ramón Jiménez
50dd2a6cc0
Fix application sometimes exiting at startup
2024-06-20 22:28:28 +02:00
Héctor Ramón Jiménez
cbeda38f0d
Inline documentation for application and daemon functions
2024-06-20 18:50:03 +02:00
Héctor Ramón
a26493ed2b
Merge pull request #2470 from ryankopf/master
...
feat: Add methods for window settings in Application
2024-06-20 18:44:13 +02:00
Héctor Ramón Jiménez
0785b334e7
Add window method to Application
2024-06-20 18:35:10 +02:00
ryankopf
3334cf670b
feat: Add methods for window settings in Application
...
This commit adds new methods to the `Application` struct for setting various window settings such as resizable, decorations, position, and level. These methods allow for more customization and control over the appearance and behavior of the application window.
2024-06-20 00:40:37 -05:00
Héctor Ramón
714d450315
Merge pull request #2469 from iced-rs/unify-shell-runtimes
...
`Daemon` API and Shell Runtime Unification
2024-06-20 01:23:01 +02:00
Héctor Ramón Jiménez
c5f4bebeda
Remove window::Id::MAIN constant
2024-06-20 01:13:42 +02:00
Héctor Ramón Jiménez
92e08c8f07
Add get_latest and get_oldest tasks in window
2024-06-20 01:13:09 +02:00
Héctor Ramón Jiménez
bdd30f7ab8
Introduce and_then methods for fallible Tasks
2024-06-20 01:11:21 +02:00