ListAttribute Class
The ListAttribute class describes an attribute defining a cell or set of cells in a List Component.
Members
bgColor
→ tuple[float, float, float, float]
:
Get or set background color. In the form of a tuple (r, g, b, a).
bottomBorderInColor
→ tuple[float, float, float, float]
:
Get or set inside bottom color. In the form of a tuple (r, g, b, a).
bottomBorderOutColor
→ tuple[float, float, float, float]
:
Get or set outside bottom color. In the form of a tuple (r, g, b, a).
colStretch
→ bool
:
Get or set column stretchiness. When True, colWidth specifies minimum width.
colWidth
→ float
:
Get or set column width, expressed in pixels.
draggable
→ bool
:
Get or set whether or not cell is draggable.
editable
→ bool
:
Get or set whether or not contents are editable. When True, contents can be edited by clicking on the cell.
focus
→ bool
(Read Only):
Returns True if the cell/row/column/table is currently being edited.
fontFile
→ str
:
Get or set font file. VFS embedded files supported as well.
fontBold
→ bool
:
Get or set whether or not text is rendered in bold font.
fontFace
→ str
:
Get or set font face. Example 'verdana'.
fontItalic
→ bool
:
Get or set whether or not text is rendered italicized.
fontSizeX
→ float
:
Get or set font horizontal size.
fontSizeY
→ float
:
Get or set font vertical size. If not specified, uses fontSizeX.
sizeInPoints
→ bool
:
Get or set text size units. When True size is in points, when False it is in pixels.
help
→ str
:
Get or set help string when rolling over the cell.
leftBorderInColor
→ tuple[float, float, float, float]
:
Get or set inside left color. In the form of a tuple (r, g, b, a).
leftBorderOutColor
→ tuple[float, float, float, float]
:
Get or set outside left color. In the form of a tuple (r, g, b, a).
radio
→ bool
(Read Only):
Returns true if the mouse last selected the cell/row/column/table.
rightBorderInColor
→ tuple[float, float, float, float]
:
Get or set inside right color. In the form of a tuple (r, g, b, a).
rightBorderOutColor
→ tuple[float, float, float, float]
:
Get or set outside right color. In the form of a tuple (r, g, b, a).
rollover
→ bool
(Read Only):
Returns true if the mouse is currently over the cell/row/column/table.
rowHeight
→ float
:
Get or set row height, expressed in pixels.
rowIndent
→ float
:
Get or set row indent, expressed in pixels.
rowStretch
→ bool
:
Get or set row stretchiness. When True, rowWidth specifies minimum width.
select
→ bool
(Read Only):
Returns true if the mouse is currently pressed over the cell/row/column/table.
text
→ str
:
Get or set contents.
textColor
→ tuple[float, float, float, float]
:
Get or set text color. In the form of a tuple (r, g, b, a).
textJustify
→ JustifyType
:
Get or set text justification. Value is one of: JustifyType.TOPLEFT, JustifyType.TOPCENTER, JustifyType.TOPRIGHT, JustifyType.CENTERLEFT, JustifyType.CENTER, JustifyType.CENTERRIGHT, JustifyType.BOTTOMLEFT, JustifyType.BOTTOMCENTER, JustifyType.BOTTOMRIGHT
textOffsetX
→ float
:
Get or set horizontal text offset.
textOffsetY
→ float
:
Get or set vertical text offset.
top
→ TOP
:
Get or set background image TOP.
topBorderInColor
→ tuple[float, float, float, float]
:
Get or set inside top color. In the form of a tuple (r, g, b, a).
topBorderOutColor
→ tuple[float, float, float, float]
:
Get or set outside top color. In the form of a tuple (r, g, b, a).
wordWrap
→ bool
:
Get or set word wrapping.
Methods
No operator specific methods.
TouchDesigner Build: