[][src]Function ncursesw::slk_set

pub fn slk_set(
    labnum: i32,
    label: &str,
    fmt: Justification
) -> Result<(), NCurseswError>

The slk_set() routine sets a soft label.

  • labnum: is the label number, from 1 to 8 (12 if slk_init() was called with SoftLabelType::{FourFour,FourFourIndex});
  • label: is be the string to put on the label, up to eight (five if slk_init() was called with SoftLabelType::{FourFour,FourFourIndex}`) characters in length.
  • fmt: indicating whether the label is to be left-justified, centered or right-justified.