Skip to content
Snippets Groups Projects
Commit 994b9807 authored by moon2's avatar moon2 :speech_balloon:
Browse files

Touchable, CapScrollController: add deprecation warnings

parent 3eb69875
No related branches found
No related tags found
1 merge request!738system: add help texts
Pipeline #13278 passed
......@@ -18,6 +18,8 @@ class ScrollDemo(Application):
def __init__(self, app_ctx: ApplicationContext) -> None:
super().__init__(app_ctx)
# this class is deprecated, please don't use it for new apps
# check out st3m.ui.widgets.Scroller instead!
self.scroll = CapScrollController()
def draw(self, ctx: Context) -> None:
......
......@@ -285,6 +285,8 @@ class TouchableState(Enum):
class Touchable:
"""
Deprecated, don't use for new applications!
A Touchable processes incoming captouch positional state into higher-level
simple gestures.
......
......@@ -175,6 +175,8 @@ class ScrollController(st3m.Responder):
class CapScrollController:
"""
Deprecated, use st3m.ui.widgets.Scroller instead!
A Capacitive Touch based Scroll Controller.
You can think of it as a virtual trackball controlled by a touch petal. It
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment