Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveWindowChangeCallback ¶
type ActiveWindowChangeCallback func(*WinInfo)
type WinGetter ¶
type WinGetter interface {
// GetActiveWindow returns the current active window information
GetActiveWindow() (*WinInfo, error)
// OnActiveWindowChange registers a callback function to be called when the active window changes
// The callback function will be called with the new active window information
// The function should return an error if it fails to register the callback
OnActiveWindowChange(ActiveWindowChangeCallback) error
}
Click to show internal directories.
Click to hide internal directories.