dirty property
Whether this row is currently marked dirty.
Implementation
bool get dirty {
final out = calloc<ffi.Bool>();
try {
_checkResult(
bindings.ghostty_render_state_row_get(
_handle,
bindings
.GhosttyRenderStateRowData
.GHOSTTY_RENDER_STATE_ROW_DATA_DIRTY,
out.cast(),
),
'ghostty_render_state_row_get',
);
return out.value;
} finally {
calloc.free(out);
}
}
Updates whether this row is marked dirty.
Implementation
set dirty(bool value) {
final out = calloc<ffi.Bool>();
try {
out.value = value;
_checkResult(
bindings.ghostty_render_state_row_set(
_handle,
bindings
.GhosttyRenderStateRowOption
.GHOSTTY_RENDER_STATE_ROW_OPTION_DIRTY,
out.cast(),
),
'ghostty_render_state_row_set',
);
} finally {
calloc.free(out);
}
}