event

package
v0.0.0-...-646ff60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2024 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event interface {
	fmt.Stringer
	Get() Event
	Match(Event) bool
}

type WindowFocusChange

type WindowFocusChange struct {
	Host        *string `yaml:"host,omitempty"         json:"host,omitempty"`
	WindowID    *uint64 `yaml:"window_id,omitempty"    json:"window_id,omitempty"`
	WindowTitle *string `yaml:"window_title,omitempty" json:"window_title,omitempty"`
	UserID      *uint64 `yaml:"user_id,omitempty"      json:"user_id,omitempty"`
	ProcessID   *uint64 `yaml:"process_id,omitempty"   json:"process_id,omitempty"`
	ProcessName *string `yaml:"process_name,omitempty" json:"process_name,omitempty"`
	IsFocused   *bool   `yaml:"is_focused,omitempty"   json:"is_focused,omitempty"`
}

func (*WindowFocusChange) Get

func (ev *WindowFocusChange) Get() Event

func (*WindowFocusChange) Match

func (ev *WindowFocusChange) Match(cmpIface Event) bool

func (*WindowFocusChange) String

func (ev *WindowFocusChange) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL