forked from ladyada/Adafruit_CircuitPython_Display_Button
-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
JMK expected a Button to act like a Label, in that it would be a Group that you would add to a Group. But Button is not a subclass of Group: It has a Group (.group), but it is not itself one.
There is a mirrored page in Learn Guides with an example that assumes a Button is a Group:
https://learn.adafruit.com/pyportal-calculator-using-the-displayio-ui-elements/ui-quickstart#button-3-15
https://learn.adafruit.com/circuitpython-display-support-using-displayio/ui-quickstart
Is it possible for it to be Group? If not, the examples should be fixed, and the documentation here should explain how to use .group.
Tagging @makermelissa @tannewt @ladyada
Metadata
Metadata
Assignees
Labels
No labels