When I create a window in the Rust backend, how can I initialize the configuration for the window? #12453
-
When I create a window in the Rust backend, how can I initialize the configuration for the window? Are there only two ways to do this?
|
Beta Was this translation helpful? Give feedback.
Answered by
FabianLars
Jan 20, 2025
Replies: 1 comment 2 replies
-
Yes, only those 2 ways but you're missing the rest of the WebviewWindowBuilder stuff in 1) No matter whether you use What do you find lacking about those 2 approaches? Anything in mind for a third approach? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
hahazexia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, only those 2 ways but you're missing the rest of the WebviewWindowBuilder stuff in 1)
No matter whether you use
WebviewWindowBuilder::new()
or::from_config()
you can still use the rest of the Builder methods to change the window configuration before actaully creating the window via.build()
What do you find lacking about those 2 approaches? Anything in mind for a third approach?