Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutdialsfunc(3glut) [suse man page]

glutDialsFunc(3GLUT)						       GLUT						      glutDialsFunc(3GLUT)

NAME
glutDialsFunc - sets the dial & button box dials callback for the current window. SYNTAX
void glutDialsFunc(void (*func)(int dial, int value)); ARGUMENTS
func The new dials callback function. DESCRIPTION
glutDialsFunc sets the dial & button box dials callback for the current window. The dial & button box dials 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 dial changes. The dial parameter will be the dial number (starting at one). The number of available dial & button box dials can be determined with glutDeviceGet(GLUT_NUM_DIALS). The value measures the absolute rotation in degrees. Dial values do not ``roll over'' with each com- plete rotation but continue to accumulate degrees (until the int dial value overflows). Registering a dial & button box dials callback when a dial & button box device is not available is ineffectual and not an error. In this case, no dial & button box dials callbacks will be generated. Passing NULL to glutDialsFunc disables the generation of dial & button box dials callbacks. When a new window is created, no dial & button box dials callback is initially registered. SEE ALSO
glutButtonBoxFunc, glutDeviceGet AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutDialsFunc(3GLUT)

Check Out this Related Man Page

glutDialsFunc(3GLUT)						       GLUT						      glutDialsFunc(3GLUT)

NAME
glutDialsFunc - sets the dial & button box dials callback for the current window. SYNTAX
void glutDialsFunc(void (*func)(int dial, int value)); ARGUMENTS
func The new dials callback function. DESCRIPTION
glutDialsFunc sets the dial & button box dials callback for the current window. The dial & button box dials 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 dial changes. The dial parameter will be the dial number (starting at one). The number of available dial & button box dials can be determined with glutDeviceGet(GLUT_NUM_DIALS). The value measures the absolute rotation in degrees. Dial values do not ``roll over'' with each com- plete rotation but continue to accumulate degrees (until the int dial value overflows). Registering a dial & button box dials callback when a dial & button box device is not available is ineffectual and not an error. In this case, no dial & button box dials callbacks will be generated. Passing NULL to glutDialsFunc disables the generation of dial & button box dials callbacks. When a new window is created, no dial & button box dials callback is initially registered. SEE ALSO
glutButtonBoxFunc, glutDeviceGet AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutDialsFunc(3GLUT)
Man Page

15 More Discussions You Might Find Interesting

1. Cybersecurity

opening ports

I need to open a port in linux to allow a connect() from another box to succeed. I have the linux box listening on port 3000 on INADDR_ANY, and a Windows box does a connect to the IP of the linux box on that same port. The Linux box refuses the connection. I think it's because all the ports are... (9 Replies)
Discussion started by: dryheat
9 Replies

2. UNIX for Advanced & Expert Users

Authentication token error?!?!

Hi all, I have upgraded my old RedHat 6.2 box to RedHat 7.3. I had couple hundreds of users on that box so i just migrated all the user account to a new box by transfering home directories, and appending to /etc/passwd /etc/shadow /etc/group. I have preserved all permittions. Everything works... (8 Replies)
Discussion started by: solvman
8 Replies

3. UNIX for Dummies Questions & Answers

Connecting to the Internet

Im on XP now but when im on linux how do I connect to the internet? I don't think AOL works with it but are there any free programs that I can use with it? (8 Replies)
Discussion started by: NoPepsiForYou
8 Replies

4. UNIX for Dummies Questions & Answers

How do I dial a number from the terminal window?

Hi Folks, Just for the record: I am a Mac User. But I believe my question is a simple UNIX FBSD question. My problem: I need to learn how to "pick up" the telephone line and dial a number from an Unix shell or shell script execution. My modem is at /dev/cu.modem Why I need it? I... (12 Replies)
Discussion started by: fundidor
12 Replies

5. UNIX for Advanced & Expert Users

Multiple (thousands) of Cron Instances

Hey all, I have a box running SUSE SLES 8 and in the past few months the box will randomly spawn thousands of instances of /USR/SBIN/CRON to the point where the box will lock up entirely. Upwards of 14000 instances! I imagine it's using up all of the available files that can be opened at one... (10 Replies)
Discussion started by: sysera
10 Replies

6. Linux

CentOS, Fedora & RedHat in 1 box

(23 Replies)
Discussion started by: raybakh
23 Replies

7. Solaris

Faulty PSU - but its still working !?!

Hello We have a power supply in an x4100 (x86) and it seems to be faulty but it is still working!?! (this box only has one PSU). We are getting Orange flashing warning light on the front of the box and the LED labelled “rear PSu” is solid orange ...We don't seem to have had any syslog error... (8 Replies)
Discussion started by: hcclnoodles
8 Replies

8. UNIX for Advanced & Expert Users

System hanged. help required.

HI, I have a Fedora running box. I am not able to ping/login. I guess it got hanged. Can any one help me how to login to that box with out restart? (8 Replies)
Discussion started by: praveen_b744
8 Replies

9. Solaris

Can't do ssh

We have a test box in solaris and some of 20 servers in prod. The problem is i can ping from test box to all prod box, but can't to ssh to prod box. If i try from prod to test box it giving unknown host error, SO what i need to check in test box I did ps -ef |grep ssh it showing ssh is running ... (15 Replies)
Discussion started by: darulprasad
15 Replies

10. Shell Programming and Scripting

User addition in Unix box

Hi All, Am using the following command to add a user in Unix box useradd -d <default_path> -g 90 -p <pwd for the user> <user_name> But am getting an error while using this command by root user.Let me know if this cmd is right or else is there any other command to add a user in unix... (9 Replies)
Discussion started by: Ashok_oct22
9 Replies

11. UNIX for Advanced & Expert Users

Copy file from unix box to another unix box

Hi, I am new for perl scripting, I need a script to copy a log file /test/test_yyyymmdd.dat from one unix box to another unix box location /check/check1/ at daily 2:00AM, please let me know how to do that...... Regards, Ann (8 Replies)
Discussion started by: fabrine
8 Replies

12. SCO

SCO box loosing network connection

Hello, We have a SCO box running OpenServer 5.0.5. This has our business software on it (15 users connecting via terminal emulator (ansio lite)) which has been running for about 12-15yrs strong! Within the past 6-8 months, at random times of the day, we've been loosing connection to this box. ... (8 Replies)
Discussion started by: rpcbrielle
8 Replies

13. What is on Your Mind?

Modems still in operation?

Does anyone still use modems for anything? Every now and then I see a web site that offers low res video for dial-up users. I wonder if any dial-up users still exist. But even if you have a wide band Internet connection,you might still use a modem for something else. For the purposes of this... (13 Replies)
Discussion started by: Perderabo
13 Replies

14. Emergency UNIX and Linux Support

High CPU+Memory comsumption

Hi All, I have Solaris-9, Sun Fire V1280 with uptime of 501 Days. My Big brother monitoring showing me 90% + memory utilization on this box. Since this is production box, I can not reboot it. Is there way to know, what is consuming so much ? It is affecting my other environment on the box.... (16 Replies)
Discussion started by: solaris_1977
16 Replies

15. Red Hat

Could any one tell me how to assign IP to a linux box.

Hi All, Could any one please help me how to assign IP to a linux box permanently. IP should not be changed even after Rebooting the machine.:b::b::b: (8 Replies)
Discussion started by: vamshigvk475
8 Replies