Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gluttabletbuttonfunc(3glut) [suse man page]

glutTabletButtonFunc(3GLUT)					       GLUT					       glutTabletButtonFunc(3GLUT)

NAME
glutTabletButtonFunc - sets the special keyboard callback for the current window. SYNTAX
void glutTabletButtonFunc(void (*func)(int button, int state, int x, int y)); ARGUMENTS
func The new tablet button callback function. DESCRIPTION
glutTabletButtonFunc sets the tablet button callback for the current window. The tablet button callback for a window is called when the window has tablet input focus (normally, when the mouse is in the window) and the user generates tablet button presses. The button parame- ter will be the button number (starting at one). The number of available tablet buttons can be determined with glutDe- viceGet(GLUT_NUM_TABLET_BUTTONS). The state is either GLUT_UP or GLUT_DOWN indicating whether the callback was due to a release or press respectively. The x and y callback parameters indicate the window relative coordinates when the tablet button state changed. Registering a tablet button callback when a tablet device is not available is ineffectual and not an error. In this case, no tablet button callbacks will be generated. Passing NULL to glutTabletButtonFunc disables the generation of tablet button callbacks. When a new window is created, no tablet button callback is initially registered. SEE ALSO
glutTabletMotionFunc, glutDeviceGet, glutMotionFunc, glutSpaceballMotionFunc AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutTabletButtonFunc(3GLUT)

Check Out this Related Man Page

glutSpaceballButtonFunc(3GLUT)					       GLUT					    glutSpaceballButtonFunc(3GLUT)

NAME
glutSpaceballButtonFunc - sets the Spaceball button callback for the current window. SYNTAX
void glutSpaceballButtonFunc(void (*func)(int button, int state)); ARGUMENTS
func The new spaceball button callback function. DESCRIPTION
glutSpaceballButtonFunc sets the Spaceball button callback for the current window. The Spaceball button callback for a window is called when the window has Spaceball input focus (normally, when the mouse is in the window) and the user generates Spaceball button presses. The button parameter will be the button number (starting at one). The number of available Spaceball buttons can be determined with glutDe- viceGet(GLUT_NUM_SPACEBALL_BUTTONS). The state is either GLUT_UP or GLUT_DOWN indicating whether the callback was due to a release or press respectively. Registering a Spaceball button callback when a Spaceball device is not available is ineffectual and not an error. In this case, no Space- ball button callbacks will be generated. Passing NULL to glutSpaceballButtonFunc disables the generation of Spaceball button callbacks. When a new window is created, no Spaceball button callback is initially registered. SEE ALSO
glutSpaceballMotionFunc, glutSpaceballRotateFunc, glutMouseFunc, glutButtonBoxFunc, glutTabletButtonFunc, glutJoystickFunc, glutDeviceGet AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutSpaceballButtonFunc(3GLUT)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Serial Ports, wacom tablet under unix

Hi, I'm new to the boards and don't know all that much about unix either. I do have quite a specific question though and i hope someone can help me with it... i'm going crazy...i've been trying to set up a wacom tablet on my unix box. i've don't it before but it was taken away and the os... (3 Replies)
Discussion started by: Salwey
3 Replies

2. Post Here to Contact Site Administrators and Moderators

Make the SEARCH button REALLY BIG

Neo, Maybe it would be best to make the search button/option more visible? I know when I came here the first time, I didn't really notice that option. Just an idea. It appears that some people either don't see it.. or the obvious, don't want to use it, but I'd suggest that it's more of the... (8 Replies)
Discussion started by: ober5861
8 Replies

3. Post Here to Contact Site Administrators and Moderators

No "sign in" button

I am just curious, why isn't there a "sign in" button on the main page? (1 Reply)
Discussion started by: milhan
1 Replies

4. UNIX for Dummies Questions & Answers

telnet is not a registered protocol

I'm using firefox and I access a site which established a VPN connection to another site. There is a button which is supposed to log me into another system. When I click the button, I get an error window popup saying: telnet is not a registered protocol I do I register telnet as a protocol?... (1 Reply)
Discussion started by: lyonsd
1 Replies

5. UNIX for Dummies Questions & Answers

Script for using the Back button and the Close button

Here's a question I have for anyone that might be able to help me: I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Discussion started by: mdgibson
1 Replies

6. UNIX and Linux Applications

graphical user acessible program

hi evaryone i am new to linux and i need help from u people ,i have to create a user accesible window in which i have to provide a button on submitting the button it has to run my c program,can anyone help me out how to do this . thanks (2 Replies)
Discussion started by: srilakshmi
2 Replies

7. Android

Will You Move to an Android Phone or Tablet?

Let's find out about users of Android. I'm becoming a big Android follower. You? After a lot of research, I am thinking to by the Samsung Galaxy S as soon as it updates to Android 2.2. I'm also closely following the release of the Samsung Galaxy Tab! (14 Replies)
Discussion started by: Neo
14 Replies

8. Programming

Fork thread, Assertion failed. X11.

Hi all. I wrote a program with the Motif Widget Toolkit. It has a button and a scrollbar. When the user hits the button the callback creates a new fork() thread. The new thread sleeps for a while and then changes the position of the scrollbar. It does this in an endless loop. I need the... (2 Replies)
Discussion started by: mghis
2 Replies

9. What is on Your Mind?

HTC Thunderbolt

Does anyone have a Thunderbolt? Or even an opinion on them? I need a new cell phone for work. My manager says I can get a Thunderbolt, but I must decide by Monday morning. The other options are iPhone and some Droid model. (18 Replies)
Discussion started by: Perderabo
18 Replies

10. What is on Your Mind?

Which Tablet to Choose?

Currently in the process of looking for a tablet. Which one is best? Thanks Benjamin Mauerberger (9 Replies)
Discussion started by: hlinks12
9 Replies

11. Emergency UNIX and Linux Support

calculate internal fragmentation in directory

hi sorry for grammar mistakes but i am writting these fro tablet and am not realy used to ot so well yet.... i am in the middle of doing work here and hope some1 ca answear my question asap please :-) How to calculate the amount of internal fragmentation using script. cd directory ...... (6 Replies)
Discussion started by: me.
6 Replies

12. IP Networking

How do I change my IP via terminal?

Hi, guys, I was using an online utility to check wheather or not an email existed, and they gave me three tries. I thought clearing temp and cookies would work, but it looks like they grabbed a hold of my IP. :mad: Now, I'd like to make a shell script that changes my IP. Not bad...yet. I'm using... (7 Replies)
Discussion started by: Ihatewindows
7 Replies

13. Linux

Motherboards

Hey all, So, I want to build a tablet that will run a standard 32-bit version of Linux. The reason for this is I need to run my application on a very bright screen to use outdoors. I don't want to spend the time porting all of the code to use on an ARM tablet. The application works flawlessly... (2 Replies)
Discussion started by: fedora18
2 Replies

14. Solaris

This must be the dumbest question ever posted -T5140 power button

I have a T5140 and cannot find the power switch -is there an on/off button? Good grief ! Thank you in advance. joe (3 Replies)
Discussion started by: joboy
3 Replies

15. UNIX for Beginners Questions & Answers

Tablet with Debian Linux ?

Hi , i want to buy a tablet with LINUX DEBIAN. Sparky is possible too. Have heared about Ubuntu Touch and a tablet with a real keyboard to switch from touch to normal keyboard. Does anyone know something ? WBR SM (3 Replies)
Discussion started by: Sennenmut
3 Replies