UI module

frame_string

procedure · 1 overloadsince 0.31.0Source

A copy of text that lives until the next frame, for strings a node keeps.

frame_string :: (ui: *UI_State, text: string) -> string

A copy of text that lives until the next frame, for strings a node keeps.

Parameters

ui: *UI_State
the UI whose frame arena holds the copy.
text: string
the string to copy.

Returns

string

See also