rum-goggles/vendor/github.com/wailsapp/wails/v2/pkg/runtime/screen.go

16 lines
294 B
Go
Raw Permalink Normal View History

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