Close

ListAttribute Class

The ListAttribute class describes an attribute defining a cell or set of cells in a List Component.


Members

bgColortuple[float, float, float, float] :

Get or set background color. In the form of a tuple (r, g, b, a).

bottomBorderInColortuple[float, float, float, float] :

Get or set inside bottom color. In the form of a tuple (r, g, b, a).

bottomBorderOutColortuple[float, float, float, float] :

Get or set outside bottom color. In the form of a tuple (r, g, b, a).

colStretchbool :

Get or set column stretchiness. When True, colWidth specifies minimum width.

colWidthfloat :

Get or set column width, expressed in pixels.

draggablebool :

Get or set whether or not cell is draggable.

editablebool :

Get or set whether or not contents are editable. When True, contents can be edited by clicking on the cell.

focusbool (Read Only):

Returns True if the cell/row/column/table is currently being edited.

fontFilestr :

Get or set font file. VFS embedded files supported as well.

fontBoldbool :

Get or set whether or not text is rendered in bold font.

fontFacestr :

Get or set font face. Example 'verdana'.

fontItalicbool :

Get or set whether or not text is rendered italicized.

fontSizeXfloat :

Get or set font horizontal size.

fontSizeYfloat :

Get or set font vertical size. If not specified, uses fontSizeX.

sizeInPointsbool :

Get or set text size units. When True size is in points, when False it is in pixels.

helpstr :

Get or set help string when rolling over the cell.

leftBorderInColortuple[float, float, float, float] :

Get or set inside left color. In the form of a tuple (r, g, b, a).

leftBorderOutColortuple[float, float, float, float] :

Get or set outside left color. In the form of a tuple (r, g, b, a).

radiobool (Read Only):

Returns true if the mouse last selected the cell/row/column/table.

rightBorderInColortuple[float, float, float, float] :

Get or set inside right color. In the form of a tuple (r, g, b, a).

rightBorderOutColortuple[float, float, float, float] :

Get or set outside right color. In the form of a tuple (r, g, b, a).

rolloverbool (Read Only):

Returns true if the mouse is currently over the cell/row/column/table.

rowHeightfloat :

Get or set row height, expressed in pixels.

rowIndentfloat :

Get or set row indent, expressed in pixels.

rowStretchbool :

Get or set row stretchiness. When True, rowWidth specifies minimum width.

selectbool (Read Only):

Returns true if the mouse is currently pressed over the cell/row/column/table.

textstr :

Get or set contents.

textColortuple[float, float, float, float] :

Get or set text color. In the form of a tuple (r, g, b, a).

textJustifyJustifyType :

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

textOffsetXfloat :

Get or set horizontal text offset.

textOffsetYfloat :

Get or set vertical text offset.

topTOP :

Get or set background image TOP.

topBorderInColortuple[float, float, float, float] :

Get or set inside top color. In the form of a tuple (r, g, b, a).

topBorderOutColortuple[float, float, float, float] :

Get or set outside top color. In the form of a tuple (r, g, b, a).

wordWrapbool :

Get or set word wrapping.

Methods

No operator specific methods.


TouchDesigner Build: