---
title: "PointerEventButton"
---
import XRef from "../../../../../components/XRef.astro";
import Signature from "../../../../../components/Signature.astro";

```python
from slint.language import PointerEventButton
```

This enum describes the different types of buttons for a pointer event,
 typically on a mouse or a pencil.

## Values

- **<span id="other">`other`</span>** — A button that is none of left, right, middle, back or forward. For example,
 this is used for the task button on a mouse with many buttons.
- **<span id="left">`left`</span>** — The left button.
- **<span id="right">`right`</span>** — The right button.
- **<span id="middle">`middle`</span>** — The center button.
- **<span id="back">`back`</span>** — The back button.
- **<span id="forward">`forward`</span>** — The forward button.