mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 23:39:21 +08:00
16 lines
287 B
Go
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()
|
|
}
|