widget_add_text_scroll_element

Function widget_add_text_scroll_element 

Source
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 ’symbol “text- sets monospaced font before until next ’symbol “text” - sets center horizontal align until the next ’symbol “text” - sets right horizontal align until the next ’symbol