pub fn slk_set<S: Into<String>>(
labnum: i32,
label: Option<S>,
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 withSoftLabelType::{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.