Syntax
xBool GtIsScrollLock( void );
Arguments
No arguments.
Return value
T if Scroll Lock is on, otherwise F.
Description
Uses the Scroll Lock bit in the driver’s keyboard state. System-level changes depend on driver support.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Scroll Lock state: %s\n", GtIsScrollLock() ? "on" : "off" );
return 0;
}