slint/examples/carousel/ui
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
..
fonts Fix line endings and add a pre-commit hook 2023-02-23 11:09:50 +01:00
svg Fix line endings and add a pre-commit hook 2023-02-23 11:09:50 +01:00
card.slint cleanup examples according to upcoming code guidelines (#3809) 2023-11-02 11:04:40 +01:00
carousel.slint Rename SwipeGestureRecognizer to SwipeGestureHandler 2024-09-18 16:37:27 +02:00
carousel_demo.slint cleanup examples according to upcoming code guidelines (#3809) 2023-11-02 11:04:40 +01:00
label.slint Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
theme.slint Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
title_label.slint Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00