Documentation ¶
Overview ¶
Package events provides types to help manage Gio events and event routing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CombinedQueue ¶
CombinedQueue combines the results of two queues into one.
type EventGroup ¶
EventGroup contains a list of events and the tag that they are associated with. It can be used as an event.Queue.
type Spy ¶
Spy wraps an event.Queue and makes a copy of each event that is requested from the queue. These copies can be accessed by higher-level logic after laying out widgets that consume events.
func Enspy ¶
Enspy returns a new spy and a copy of the layout.Context configured to use that spy wrapped around its original queue.
func (*Spy) AllEvents ¶
func (s *Spy) AllEvents() (events []EventGroup)
AllEvents returns all events that have been requested via the Events() method since the last call to AllEvents().