fckeuspy-go/vendor/fyne.io/fyne/v2/internal/driver/context.go

10 lines
243 B
Go

package driver
// WithContext allows drivers to execute within another context.
// Mostly this helps GLFW code execute within the painter's GL context.
type WithContext interface {
RunWithContext(f func())
RescaleContext()
Context() any
}