Unix and Linux Discussions Tagged with box |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
2,377 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,166 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,862 |
Filesystems, Disks and Memory |
|
|
|
3 |
5,170 |
UNIX for Dummies Questions & Answers |
|
|
|
20 |
15,850 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,943 |
Filesystems, Disks and Memory |
|
|
|
2 |
4,116 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,981 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,846 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
3,109 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,200 |
Cybersecurity |
|
|
|
6 |
3,092 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,784 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
20,869 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,501 |
Programming |
|
|
|
2 |
2,410 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
25,649 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,266 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,672 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,275 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,594 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,597 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
9,706 |
Shell Programming and Scripting |
|
|
|
5 |
5,202 |
IP Networking |
|
|
|
29 |
44,452 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
7,686 |
Cybersecurity |
|
|
|
1 |
2,714 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,178 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
5,781 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,171 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
9,859 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,333 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
9,121 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
3,744 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,854 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
8,813 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
18,291 |
Programming |
|
|
|
4 |
2,777 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,050 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
1,949 |
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)