Sets up soft function-key labels.
Curses Library (libcurses.a)
The slk_set subroutine sets up each soft function-key label with the appropriate name. These labels appear at the bottom of the screen and give applications, such as editors, a more user-friendly look. Label names are restricted to 8 characters each.
Item | Description |
---|---|
LabNum | Specifies the label number. The value can range from 1 to 8. |
LabStr | Specifies the string (name) to put on the label. If the string is NULL, the label is blank. |
LabFmt | Specifies the label alignment. The following values are valid:
|
slk_set(2, "Quit", 1);