Query: glutbuttonboxfunc
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UNTITLEDLOCAL UNTITLEDNAMEglutButtonBoxFunc -- Sets a button-box button callback.LIBRARYOpenGLUT - inputSYNOPSIS#include <openglut.h> void glutButtonBoxFunc(void( *callback )( int button, int state ));PARAMETERScallback Client buttonbox button hook.DESCRIPTIONA dials-and-buttons box has buttons numbered from 1 to glutDeviceGet( GLUT_NUM_BUTTON_BOX_BUTTONS), inclusive. The parameters callback are the button and its state as either GLUT_UP or GLUT_DOWN . The callback is bound to the current window .CAVEATSOpenGLUT does not implement button-box support. Also in contrast, mouse buttons are numbered from 0 in the GLUT API. This is a wrinkle.SEE ALSOglutDialsFunc(3) Epoch