on_button_released Event
Function: |
Generated when the MD button on your device is released. |
Declaration: |
on_button_released() |
Multiple events may be in the queue? |
YES |
See Also: |
--- |
Details
You can check the time elapsed since the previous on_button_pressed event by reading the value of the button.time read-only property.
Note that the button. object performs "debouncing," which rejects very brief transitions of the button state. This event will not be generated for such spurious transitions.