5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 07:52:12 +08:00
wails/v2/pkg/runtime/screen.go
lvyaoting aad811391b
chore: fix function names in comment (#3383)
Signed-off-by: lvyaoting <lvyaoting@outlook.com>
2024-04-09 17:19:06 -05:00

16 lines
287 B
Go

package runtime
import (
"context"
"github.com/wailsapp/wails/v2/internal/frontend"
)
type Screen = frontend.Screen
// ScreenGetAll returns all screens
func ScreenGetAll(ctx context.Context) ([]Screen, error) {
appFrontend := getFrontend(ctx)
return appFrontend.ScreenGetAll()
}