Pular para o conteúdo principal
Versão: v2.8.1

Screen

These methods provide information about the currently connected screens.

ScreenGetAll

Returns a list of currently connected screens.

Go: ScreenGetAll(ctx context.Context) []screen
JS: ScreenGetAll()

Screen

Go struct:

type Screen struct {
IsCurrent bool
IsPrimary bool
Width int
Height int
}

Typescript interface:

interface Screen {
isCurrent: boolean;
isPrimary: boolean;
width : number
height : number
}