Skip to content

Add root_group accessor in framebufferio.FramebufferDisplay - #6595

Merged
tannewt merged 2 commits into
adafruit:mainfrom
Neradoc:add-root-group-to-framebufferio
Jul 14, 2022
Merged

tannewt merged 2 commits into
adafruit:mainfrom
Neradoc:add-root-group-to-framebufferio

Conversation

@Neradoc

@Neradoc Neradoc commented Jul 14, 2022

Copy link
Copy Markdown

You can do something like that now for example:

from adafruit_matrixportal.matrix import Matrix
matrix = Matrix(bit_depth=6)
matrix.display.root_group.hidden = True

Did I do that right ? Is there a better way to do it by reusing the existing one in Display.c instead ?

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! I don't think there is a good way to share.

@tannewt
tannewt merged commit 01b18cc into adafruit:main Jul 14, 2022
@Neradoc
Neradoc deleted the add-root-group-to-framebufferio branch August 10, 2022 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants