Skip to content

When I create a window in the Rust backend, how can I initialize the configuration for the window? #12453

Answered by FabianLars
hahazexia asked this question in Q&A
Discussion options

You must be logged in to vote

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?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hahazexia
Comment options

@hahazexia
Comment options

Answer selected by hahazexia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants