EventContext

Added in version 0.76.

class EventContext(*args, **kwargs)

Provides context information for a context menu event.

Methods

class EventContext
get_coordinates(x: float | None = None, y: float | None = None) bool

Added in version 0.76.

Parameters:
  • x – location to store the X coordinate

  • y – location to store the Y coordinate