16 lines
294 B
Go
16 lines
294 B
Go
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()
|
|
}
|