mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 16:35:36 +00:00
ui/app: drop Event
input.Event is enough if we stretch "input" to mean both input devices and other events such as profiling events and system commands. The pointer and key packages are separate already, so I don't expanding the meaning is unreasonable. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@ type Queue interface {
|
||||
// For a handler h, the key is typically &h.
|
||||
type Key interface{}
|
||||
|
||||
// Event is the marker interface for input events.
|
||||
// Event is the marker interface for events.
|
||||
type Event interface {
|
||||
ImplementsInputEvent()
|
||||
ImplementsEvent()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user