5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 18:50:30 +08:00
wails/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/screen.mdx
github-actions[bot] a419721dcd
docs: sync translations (#2699)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-09-08 23:25:21 +10:00

39 lines
517 B
Plaintext

---
sidebar_position: 9
---
# Screen
These methods provide information about the currently connected screens.
### ScreenGetAll
Returns a list of currently connected screens.
Go: `ScreenGetAll(ctx context.Context) []screen`<br/>
JS: `ScreenGetAll()`
#### Screen
Go struct:
```go
type Screen struct {
IsCurrent bool
IsPrimary bool
Width int
Height int
}
```
Typescript interface:
```ts
interface Screen {
isCurrent: boolean;
isPrimary: boolean;
width : number
height : number
}
```