glutbuttonboxfunc(3) centos man page | unix.com

Man Page: glutbuttonboxfunc

Operating Environment: centos

Section: 3

UNTITLED
LOCAL UNTITLED
NAME
glutButtonBoxFunc -- Sets a button-box button callback.
LIBRARY
OpenGLUT - input
SYNOPSIS
#include <openglut.h> void glutButtonBoxFunc(void( *callback )( int button, int state ));
PARAMETERS
callback Client buttonbox button hook.
DESCRIPTION
A 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 .
CAVEATS
OpenGLUT does not implement button-box support. Also in contrast, mouse buttons are numbered from 0 in the GLUT API. This is a wrinkle.
SEE ALSO
glutDialsFunc(3) Epoch
Related Man Pages
glutbuttonboxfunc(3glut) - mojave
glutmousefunc(3) - centos
glutmousefunc(3glut) - suse
glutspaceballbuttonfunc(3glut) - suse
glutdialsfunc(3glut) - osx
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
Controlling user input
Please Welcome Dave Munro to the Moderator Team!