kivy/kivy — pull request #1212 by bob-the-hamster (2013-05-20 02:54:47+00:00)
Title: Button.trigger_action()

This function simulates a button press without an actual touch event.

I think this is needed for the Button class because manually calling button.on_press() button.on_release() appears at first glance to be the correct way to do this, but in reality it fails for callbacks bound by .kv or button.bind()

This also comes in pretty handy if you want to make a button react to a keyboard event, like maybe ENTER clicking a confirm button, or F1 clicking a Help button.