Function ncursesw::slk_set[][src]

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

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::{FourFourFour,FourFourFourIndex});
  • 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.