pub unsafe extern "C" fn widget_add_text_scroll_element(
    widget: *mut Widget,
    x: u8,
    y: u8,
    width: u8,
    height: u8,
    text: *const c_char
)
Expand description

Add Text Scroll Element

Arguments

  • widget - Widget instance
  • x - x coordinate
  • y - y coordinate
  • width - width to fit text
  • height - height to fit text
  • text - [Direction: In] Formatted text. Default format: align left, Secondary font. The following formats are available:
      • text“* - sets bold font before until next ‘\n’ symbol
      • text\e*“* - sets monospaced font before until next ‘\n’ symbol
      • text“* - sets center horizontal align until the next ‘\n’ symbol
      • text“* - sets right horizontal align until the next ‘\n’ symbol