Unix and Linux Discussions Tagged with thank you |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
8,481 |
AIX |
|
|
|
5 |
5,590 |
Shell Programming and Scripting |
|
|
|
0 |
9,116 |
What is on Your Mind? |
|
|
|
7 |
27,334 |
What is on Your Mind? |
|
|
|
2 |
3,211 |
What is on Your Mind? |
|
|
|
1 |
3,262 |
What is on Your Mind? |
|
|
|
1 |
3,415 |
What is on Your Mind? |
|
|
|
6 |
1,410 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
2,032 |
Complex Event Processing RSS News |
|
|
|
16 |
153,337 |
Programming |
|
|
|
5 |
4,128 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
1,779 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
10,181 |
Filesystems, Disks and Memory |
|
|
|
5 |
3,647 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,094 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,274 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
2,692 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,269 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,520 |
Shell Programming and Scripting |
|
|
|
3 |
2,563 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,581 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,880 |
Programming |
|
|
|
2 |
2,795 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,751 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,470 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,093 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
5,310 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,600 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,506 |
Programming |
|
|
|
2 |
3,718 |
Programming |
|
|
|
2 |
2,077 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,527 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,154 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
2,507 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,002 |
IP Networking |
|
|
|
1 |
3,501 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
13,257 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,236 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
5,294 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,538 |
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)