mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
* chore: moving files from 'website' folder * chore(readme): Removed 'cd website' line * chore: Moving netlify.toml * chore(conflicts)
2.0 KiB
2.0 KiB
id, title, sidebar_label
| id | title | sidebar_label |
|---|---|---|
| multiwin | Multiwin | Multiwin |
Please note:
This pattern is not available for now.
This pattern is not available for now.
import Rater from '@theme/Rater'
| Ease of Use | |
| Extensibility | |
| Performance | |
| Security |
Pros:
- Access to GL context
- Separation of concerns
- Extremely complex
Description
The Multiwin recipe will allow you to have multiple windows, some of which may be GL based.
Diagram
import Mermaid, { colors } from '@theme/Mermaid'
<Mermaid chart={graph LR A==>H H==>F H==>G subgraph WEBVIEW F end subgraph GLUTIN G end subgraph RUST A end A[Binary] F[Window] G[GL Window] H{Bootstrap} style GLUTIN stroke:${colors.blue.dark},stroke-width:4px style RUST fill:${colors.orange.light},stroke:${colors.orange.dark},stroke-width:4px style WEBVIEW fill:${colors.blue.light},stroke:${colors.blue.dark},stroke-width:4px} />
Configuration
Here's what you need to add to your tauri.conf.json file:
"tauri": {
"embeddedServer": {
"active": false // do not use a localhost server
},
"whitelist": { // all API endpoints are default false
"event": true, // Use the EVENT API for injections
}
}
