File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ name = "try-wry"
3
3
version = " 0.1.0"
4
4
edition = " 2024"
5
5
6
+
7
+ [[bin ]]
8
+ name = " t01"
9
+ path = " examples/try01.rs"
10
+
11
+
6
12
[dependencies ]
7
13
tao = " 0.32.6"
8
14
winit = " 0.30.9"
Original file line number Diff line number Diff line change @@ -9,6 +9,13 @@ use wry::{
9
9
dpi:: { LogicalPosition , LogicalSize } ,
10
10
} ;
11
11
12
+ /*
13
+
14
+
15
+ ref: https://github.com/tauri-apps/wry/blob/dev/examples/multiwebview.rs
16
+
17
+ */
18
+
12
19
#[ derive( Default ) ]
13
20
struct State {
14
21
window : Option < Window > ,
Original file line number Diff line number Diff line change @@ -9,8 +9,25 @@ cargo add wry
9
9
10
10
```
11
11
12
+
13
+ ### Run
14
+
15
+ ``` ruby
16
+
17
+ cd git- repo- root- dir/
18
+
19
+ task gui:wry: r -- -- bin t01
20
+ ```
21
+
22
+
23
+
12
24
## Reference
13
25
14
26
- https://crates.io/crates/wry
15
27
- https://crates.io/crates/tao
16
- - https://crates.io/crates/winit
28
+ - https://crates.io/crates/winit
29
+
30
+
31
+ > examples
32
+
33
+ - https://github.com/tauri-apps/wry/tree/dev/examples
You can’t perform that action at this time.
0 commit comments