mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 16:35:36 +00:00
io/system: note CommandEvent is delivered as a pointer
For gio#163 Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+3
-2
@@ -79,10 +79,11 @@ type StageEvent struct {
|
||||
Stage Stage
|
||||
}
|
||||
|
||||
// CommandEvent is a system event.
|
||||
// CommandEvent is a system event. Unlike most other events, CommandEvent is
|
||||
// delivered as a pointer to allow Cancel to suppress it.
|
||||
type CommandEvent struct {
|
||||
Type CommandType
|
||||
// Suppress the default action of the command.
|
||||
// Cancel suppress the default action of the command.
|
||||
Cancel bool
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user