popup_set_text

Function popup_set_text 

Source
pub unsafe extern "C" fn popup_set_text(
    popup: *mut Popup,
    text: *const c_char,
    x: u8,
    y: u8,
    horizontal: Align,
    vertical: Align,
)
Expand description

Set popup text

If text is null, popup text will not be rendered

ยงArguments

  • popup - Popup instance
  • text - text to be shown, can be multiline
  • x - x position
  • y - y position
  • horizontal - horizontal alignment
  • vertical - vertical alignment