slint/docs/reference
Simon Hausmann cd2b738c7a Rename SwipeGestureRecognizer to SwipeGestureHandler
The origin of this proposal is the name of the `swipe-left`, etc.
directional, boolean properties. They're missing another verb in their
name. In principle the right choice would be "recognize". That is what
the type name suggests, that's the term the documentation uses, so the
code should read `recognize-swipe-left: true;`. However that is a long
word. "Handle" is a verb that's simpler. It's also more generic (that's
a downside), but it's otherwise short enough to make things look
"right":

```
SwipeGestureHandler {
    handle-swipe-left: true;
    swiped => { something.naviate-left(); }
}
```

Therefore this patch proposes to rename the type to SwipeGestureHandler
and prefixes the boolean directional properties with "handle".
2024-09-18 16:37:27 +02:00
..
_static Consolidate language tutorials (#5037) 2024-06-04 16:54:36 +02:00
_templates Restructure the Slint reference documentation 2023-08-15 10:43:49 +02:00
src Rename SwipeGestureRecognizer to SwipeGestureHandler 2024-09-18 16:37:27 +02:00
conf.py Bump version number to 1.8.0 2024-08-15 12:44:46 +00:00
index.rst Consolidate language tutorials (#5037) 2024-06-04 16:54:36 +02:00
Pipfile Consolidate language tutorials (#5037) 2024-06-04 16:54:36 +02:00