My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 359: Long Press
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  txprog
Closed:  Jun 2011


 
Reported by Bassasi...@gmail.com, Jun 10, 2011
Hey all,

I would like to simulate a long press?? can anyhelp me as soon as possible??

Thanx alot in advance :)
Jun 10, 2011
Project Member #1 dennd...@gmail.com
Hi,

First of all, if this is for a New project, consider using Kivy instead, see Kivy.org and http://kivy.org/docs/faq.html#how-is-kivy-related-to-pymt

What you want to do can be achieved the same way in either framework, I.e. assuming you want to *detect* a long press, simply listen for on_touch_down and on_touch_up events in your widget (and use a Clock timer if you want to do something even before the press goes up, I.e. After a timeout).
You can check if it's the same touch by looking up the touch's id property for instance.

I am closing this as it is neither a bug report nor a patch.

HTH,
    Christopher
Status: Invalid

Powered by Google Project Hosting