Thread
:
mokoui2 + Python bindings now in Extras (finger scroll)
View Single Post
thp
2008-12-20 , 07:37
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#
12
Originally Posted by
bongo
how can I disable the rubberband effect?
You currently cannot disable it completely (i.e. disable the possibility to "overscroll") at runtime (it's a patch applied at compile-time, "debian/spring2.patch" in the source package).
However, the following worked for me and makes the content "jump back" into position instead of slowly dragging back into position (in Python):
Code:
fs.set_property('spring-speed', 0)
Or in GTK+/C, set the "spring-speed" property of the MokoFingerScroll GObject to 0.0.
Quote & Reply
|
The Following User Says Thank You to thp For This Useful Post:
bongo
thp
View Public Profile
Send a private message to thp
Visit thp's homepage!
Find all posts by thp