Documentation
¶
Overview ¶
Package offscreen provides placeholder implementations of system interfaces to allow for offscreen testing and capturing of apps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TheApp = &App{AppMulti: base.NewAppMulti[*Window]()}
TheApp is the single system.App for the offscreen platform
Functions ¶
Types ¶
type App ¶
type App struct { base.AppMulti[*Window] // TempDataDir is the path of the app data directory, used as the // return value of [App.DataDir]. It is set to a temporary directory, // as offscreen tests should not be dependent on user preferences and // other data. TempDataDir string }
App is the system.App implementation for the offscreen platform. It is multi-window but only has one screen.
func (*App) GetScreens ¶
func (a *App) GetScreens()
type Drawer ¶
type Drawer struct { system.DrawerBase Window *Window }
Drawer is the implementation of system.Drawer for the offscreen platform
Click to show internal directories.
Click to hide internal directories.