Scenic.Components.button_spec

You're seeing just the function button_spec, go back to Scenic.Components module for more information.
Link to this function

button_spec(data, options)

View Source

Generate an uninstantiated button spec, parallel to the concept of primitive specs. This allows buttons to be treated as data.