Skip to content

Commit

Permalink
feat(core): add run_iteration, parent_window and owner_window A…
Browse files Browse the repository at this point in the history
…PIs, closes #1872 (#1874)
  • Loading branch information
lucasfernog authored May 21, 2021
1 parent 7471417 commit 8c0d073
Show file tree
Hide file tree
Showing 11 changed files with 342 additions and 167 deletions.
5 changes: 5 additions & 0 deletions .changes/run-iteration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Adds `run_iteration` API to the `App` and return the app instance on the `build` method of the `Builder`. The `run_iteration` method runs the window event loop step by step, allowing Tauri to be run along other applications.
6 changes: 6 additions & 0 deletions .changes/runtime-run-iteration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-runtime": patch
"tauri-runtime-wry": patch
---

Adds `fn run_iteration` (macOS and Windows only) to the Runtime trait.
6 changes: 6 additions & 0 deletions .changes/window-parent-and-owner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-runtime": patch
"tauri-runtime-wry": patch
---

Adds `parent_window` and `owner_window` setters to the `WindowBuilder` (Windows only).
1 change: 1 addition & 0 deletions core/tauri-runtime-wry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ infer = "0.4"

[target."cfg(windows)".dependencies]
ico = "0.1"
winapi = "0.3"

[features]
dox = [ "wry/dox" ]
Expand Down
Loading

0 comments on commit 8c0d073

Please sign in to comment.