Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 684 Bytes

label.rst

File metadata and controls

36 lines (25 loc) · 684 Bytes

Label

A text label for annotating forms or interfaces.

/reference/images/Label.jpeg
.. rst-class:: widget-support
.. csv-filter:: Availability (:ref:`Key <api-status-key>`)
   :header-rows: 1
   :file: ../../data/widgets_by_platform.csv
   :included_cols: 4,5,6,7,8,9,10
   :exclude: {0: '(?!^(Label|Component)$)'}

Usage

import toga

label = toga.Label("Hello world")

Notes

  • Winforms does not support an alignment value of JUSTIFIED. If this alignment value is used, the label will default to left alignment.

Reference

.. autoclass:: toga.Label
   :members:
   :undoc-members: