Skip to content

MouseRelease

The MouseRelease event is sent to a widget when it is no longer receiving mouse events outside of its borders.

  • Bubbles
  • Verbose

Attributes

attribute type purpose
mouse_position Offset Mouse coordinates when the mouse was released

Code

textual.events.MouseRelease class

def __init__(self, mouse_position):

Bases: Event

Mouse has been released.

  • Bubbles
  • Verbose
Parameters
Name Type Description Default
mouse_position Offset

The position of the mouse when released.

required