3 ways to create a window in Tauri | plaintext daw 13

preview_player
Показать описание
Along with a number of other little fixes, we find three ways to create a new window in Tauri. This lets us launch a new "editor" window after the "open project" window has done its job.

PageKey Tech is a channel where we take back tech by building our own versions of the products and services we all use every single day.

If you want to get involved in contributing, consider joining our Discord:

We can discuss what you want to work on and get you involved!

Timestamps:
0:00 Intro
0:20 Merging #14
0:27 Deleting demo code
0:47 Changing window size
1:00 Looking at Yuuki's parsing code
1:34 Filepicker filters, default dir
2:20 Opening a new window: game plan
2:42 Method 1: Static config
3:13 Method 2: JavaScript page change
3:46 Method 3: Dynamic Window via Rust
4:38 Changing the dynamic window's label
4:45 Refactoring
5:08 How do we store state?
5:46 Outro
Рекомендации по теме
Комментарии
Автор

Hey man was messing around with taurin for an app at work and couldn’t figure out windows. Found your video which helped but also on Windows, whatever function you’re using to create the window should be an async one. Hope that helps if anyone comes across this.
Also thanks to you! Going to take a look at the state video now :D

Lukeisun
Автор

another goated tutorial. these tauri docs don't like me i swear

EPICfranky