On_button_pressed Event

Top  Previous  Next

 

Function:

Generated when the button on your device has been pressed.

Declaration:

on_button_pressed

See Also:

---

 


Details

Multiple on_button_pressed events may be waiting in the event queue. You can check the time elapsed since the previous on_button_released event by reading the value of the button.time read-only property.