event

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT, Unlicense Imports: 2 Imported by: 2 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package event contains types for event handling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Op

func Op(o *op.Ops, tag Tag)

Op declares a tag for input routing at the current transformation and clip area hierarchy. It panics if tag is nil.

Types

type Event

type Event interface {
	ImplementsEvent()
}

Event is the marker interface for events.

type Filter

type Filter interface {
	ImplementsFilter()
}

Filter represents a filter for Event types.

type Tag

type Tag any

Tag is the stable identifier for an event handler. For a handler h, the tag is typically &h.

Jump to

Keyboard shortcuts

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