Unix and Linux Discussions Tagged with box |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
2,343 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,160 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,837 |
Filesystems, Disks and Memory |
|
|
|
3 |
5,155 |
UNIX for Dummies Questions & Answers |
|
|
|
20 |
15,592 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,927 |
Filesystems, Disks and Memory |
|
|
|
2 |
4,091 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,934 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,781 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
3,065 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,159 |
Cybersecurity |
|
|
|
6 |
3,015 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,716 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
20,762 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,439 |
Programming |
|
|
|
2 |
2,389 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
25,638 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,250 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,620 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,220 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,561 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,554 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
9,594 |
Shell Programming and Scripting |
|
|
|
5 |
5,173 |
IP Networking |
|
|
|
29 |
44,240 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
7,653 |
Cybersecurity |
|
|
|
1 |
2,649 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,156 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
5,725 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,126 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
9,791 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,309 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
9,081 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
3,674 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,781 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
8,763 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
18,222 |
Programming |
|
|
|
4 |
2,744 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,015 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
1,929 |
UNIX for Dummies Questions & Answers |
glutButtonBoxFunc(3GLUT) GLUT glutButtonBoxFunc(3GLUT)
NAME
glutButtonBoxFunc - sets the dial & button box button callback for the current window.
SYNTAX
void glutButtonBoxFunc(void (*func)(int button, int state));
ARGUMENTS
func The new button box callback function.
DESCRIPTION
glutButtonBoxFunc sets the dial & button box button callback for the current window. The dial & button box button callback for a window is
called when the window has dial & button box input focus (normally, when the mouse is in the window) and the user generates dial & button
box button presses. The button parameter will be the button number (starting at one). The number of available dial & button box buttons can
be determined with glutDeviceGet(GLUT_NUM_BUTTON_BOX_BUTTONS). The state is either GLUT_UP or GLUT_DOWN indicating whether the callback was
due to a release or press respectively.
Registering a dial & button box button callback when a dial & button box device is not available is ineffectual and not an error. In this
case, no dial & button box button callbacks will be generated.
Passing NULL to glutButtonBoxFunc disables the generation of dial & button box button callbacks. When a new window is created, no dial &
button box button callback is initially registered.
SEE ALSO
glutDialsFunc, glutDeviceGet, glutSpaceballButtonFunc, glutTabletButtonFunc
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutButtonBoxFunc(3GLUT)