scrollok

Sets the scroll flag for the specified window.

Format

#include  <curses.h>

scrollok  (WINDOW *win, bool boolf);

Arguments

win
A pointer to the window.
boolf
A Boolean TRUE or FALSE value. If boolf is FALSE, scrolling is not allowed. This is the default setting. The bool type is defined in the <curses.h> header file as follows:
#define bool int


Previous Page | Next Page | Table of Contents | Index