Unix and Linux Discussions Tagged with thank you |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
6,866 |
AIX |
|
|
|
5 |
5,182 |
Shell Programming and Scripting |
|
|
|
0 |
8,908 |
What is on Your Mind? |
|
|
|
7 |
24,112 |
What is on Your Mind? |
|
|
|
2 |
2,882 |
What is on Your Mind? |
|
|
|
1 |
2,904 |
What is on Your Mind? |
|
|
|
1 |
3,113 |
What is on Your Mind? |
|
|
|
6 |
1,332 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
2,006 |
Complex Event Processing RSS News |
|
|
|
16 |
151,994 |
Programming |
|
|
|
5 |
4,078 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
1,732 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
10,011 |
Filesystems, Disks and Memory |
|
|
|
5 |
3,571 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,054 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,232 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
2,639 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,992 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,749 |
Shell Programming and Scripting |
|
|
|
3 |
2,493 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,493 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,766 |
Programming |
|
|
|
2 |
2,672 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,556 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,336 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
1,973 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
5,201 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,523 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,100 |
Programming |
|
|
|
2 |
3,455 |
Programming |
|
|
|
2 |
1,979 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,288 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,873 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
2,443 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,779 |
IP Networking |
|
|
|
1 |
3,396 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
13,019 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,066 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
5,026 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,308 |
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)