Files

16 lines
294 B
Go
Raw Permalink Normal View History

2022-07-16 05:33:37 +03:00
package runtime
2023-11-12 12:30:49 +11:00
import (
"context"
"github.com/wailsapp/wails/v2/internal/frontend"
)
2022-07-16 05:33:37 +03:00
type Screen = frontend.Screen
// ScreenGetAllScreens returns all screens
func ScreenGetAll(ctx context.Context) ([]Screen, error) {
appFrontend := getFrontend(ctx)
return appFrontend.ScreenGetAll()
}