
:class:`TextBox`
------------------------------------------------------------------------

Attributes
=============

.. currentmodule:: psychopy.visual

.. autosummary::

    TextBox

.. note::

    The following `set______()` attributes all have equivalent `get______()` attributes:

.. autosummary::

    TextBox.setText
    TextBox.setPosition
    TextBox.setOri
    TextBox.setHorzAlign
    TextBox.setVertAlign
    TextBox.setHorzJust
    TextBox.setVertJust
    TextBox.setFontColor
    TextBox.setBorderColor
    TextBox.setBackgroundColor
    TextBox.setTextGridLineColor
    TextBox.setTextGridLineWidth
    TextBox.setInterpolated
    TextBox.setOpacity
    TextBox.setAutoLog
    TextBox.draw

.. note::

    TextBox also provides the following read-only functions:

.. autosummary::

    TextBox.getSize
    TextBox.getName
    TextBox.getDisplayedText
    TextBox.getValidStrokeWidths
    TextBox.getLineSpacing
    TextBox.getGlyphPositionForTextIndex
    TextBox.getTextGridCellPlacement


Details
=============

.. autoclass:: TextBox
    :members:
    :undoc-members:
    :inherited-members:
