Merge pull request #110 from FoamyGuy/text_fields_prop
Text fields property
This commit is contained in:
commit
fed4888d13
1 changed files with 8 additions and 0 deletions
|
|
@ -567,3 +567,11 @@ class PortalBase:
|
|||
def display(self):
|
||||
"""The displayio.Display object for this device."""
|
||||
return self.graphics.display
|
||||
|
||||
@property
|
||||
def text_fields(self):
|
||||
"""
|
||||
The list of text field(s) metadata objects.
|
||||
See add_text() definition for available metadata fields.
|
||||
"""
|
||||
return self._text
|
||||
|
|
|
|||
Loading…
Reference in a new issue