Function ncursesw::mvwadd_wchstr[][src]

pub fn mvwadd_wchstr(
    handle: WINDOW,
    origin: Origin,
    wchstr: &ComplexString
) -> Result<(), NCurseswError>
Expand description

Add a complex string to the specified position on the specified window

Example

let colors1 = Colors::new(Color::Red, Color::Black);
let color_pair1 = ColorPair::new(colors1)?;
let attributes = Attribute::Dim | color_pair1;

let wchstr = ComplexString::from_str("testing, testing 1..2..3..", color_pair1, attributes)?;

mvwadd_wchstr(window_handle, origin, &wchstr)?;