GhosttyRenderStateRowCellsData enum

Queryable data kinds for ghostty_render_state_row_cells_get().

@ingroup render

Inheritance
Available extensions

Values

GHOSTTY_RENDER_STATE_ROW_CELLS_DATA_INVALID → const GhosttyRenderStateRowCellsData

Invalid / sentinel value.

const GhosttyRenderStateRowCellsData(0)
GHOSTTY_RENDER_STATE_ROW_CELLS_DATA_RAW → const GhosttyRenderStateRowCellsData

The raw cell value (GhosttyCell).

const GhosttyRenderStateRowCellsData(1)
GHOSTTY_RENDER_STATE_ROW_CELLS_DATA_STYLE → const GhosttyRenderStateRowCellsData

The style for the current cell (GhosttyStyle).

const GhosttyRenderStateRowCellsData(2)
GHOSTTY_RENDER_STATE_ROW_CELLS_DATA_GRAPHEMES_LEN → const GhosttyRenderStateRowCellsData

The total number of grapheme codepoints including the base codepoint (uint32_t). Returns 0 if the cell has no text.

const GhosttyRenderStateRowCellsData(3)
GHOSTTY_RENDER_STATE_ROW_CELLS_DATA_GRAPHEMES_BUF → const GhosttyRenderStateRowCellsData

Write grapheme codepoints into a caller-provided buffer (uint32_t*). The buffer must be at least graphemes_len elements. The base codepoint is written first, followed by any extra codepoints.

const GhosttyRenderStateRowCellsData(4)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromValue(int value) GhosttyRenderStateRowCellsData

Constants

values → const List<GhosttyRenderStateRowCellsData>
A constant List of the values in this enum, in order of their declaration.