Skip to main content

lumen_signal_set_str

Function lumen_signal_set_str 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn lumen_signal_set_str( name: *const c_char, value: *const c_char, ) -> LumenStatus
Expand description

Set a scalar signal to a UTF-8 string. A null value writes an empty string. Thread-safe.

Pushes a PropertyValue::Str through the foundation typed-property bus, so bind-text="..." markup observes the new string on the next tick. Mirrors the write into the FFI-local cache for pre-run read-back.