06-12-2012
I think the probem is
I think the probem is that your system does not see the mouse, this happened with me when I used a wireless mouse , try to use an old PS2 mouse and let me know the result.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
1) I want to have a GUI application that will call Unix shell scripts,
2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix.
That is for example.
If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies
2. UNIX for Dummies Questions & Answers
:) Hi everybody..
This is my firt post in this great forum.:
I have installed Sun Solaris 10 on an Intel machine..
Now i login in CDE desktop as root.
I want to switch between terminal screens pressing CTRL+ALT F1 (through F6) but nothing happens ??
any suggestions
thank you (2 Replies)
Discussion started by: peterpan
2 Replies
3. AIX
Can I know is there anyone know how to statup AIX in GUI and text mode?
Thank You..... (2 Replies)
Discussion started by: dwarf007
2 Replies
4. Shell Programming and Scripting
Hello,
I have written some scripts that query the user and waits for keyboard input for an answer. I was wondering if there is any generic code snippets out there that would allow me to run this as a GUI. I am thinking of a simple dialogue box that would display the question and have a text... (1 Reply)
Discussion started by: Allasso
1 Replies
5. Solaris
Hi all
I have installed solaris 5.10 and it is loading in GUI mode by default.
I want to load in text mode by default. How to do this? How to switch from GUI to text mode and vise versa.?
Please help.. (2 Replies)
Discussion started by: johnl
2 Replies
6. Windows & DOS: Issues & Discussions
jEdit, Total Edit, EDXOR, all have one thing in common -- whatever they save in what they call "Unix" encoding and line endings inevitably shows up in a CLI text editor like pico or vim having garbage characters somewhere close to the beginning or, though this is more rare, somewhere in the body of... (0 Replies)
Discussion started by: SilversleevesX
0 Replies
7. HP-UX
How I can I remove the welcome screen for HPUX
ie
* *
* *
* Welcome to AIX Version 5.3! *
* *
but only for some users ?
Thanks (4 Replies)
Discussion started by: belfastbelle
4 Replies
8. Hardware
Dear All,
i am trying to install the redhat linux using graphical mode...but it stucks while probing video card...i have installed linux using text mode it works fine and whole the installation goes fine. after installation if i give startx command it again stucks....looks like a vga card... (9 Replies)
Discussion started by: zaheer.gr8
9 Replies
9. Red Hat
Hi folks,
I was running many commands using root and closed the session.
I would like to see if there is a way to go back to the server and see those screens so I can remember what I did the next time I need to do that.
Thanks a bunch! (3 Replies)
Discussion started by: 300zxmuro
3 Replies
10. Programming
python gui or c++ gui or java gui?
and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies
LEARN ABOUT REDHAT
glutmousefunc
glutMouseFunc(3GLUT) GLUT glutMouseFunc(3GLUT)
NAME
glutMouseFunc - sets the mouse callback for the current window.
SYNTAX
void glutMouseFunc(void (*func)(int button, int state,
int x, int y));
ARGUMENTS
func The new mouse callback function.
DESCRIPTION
glutMouseFunc sets the mouse callback for the current window. When a user presses and releases mouse buttons in the window, each press and
each release generates a mouse callback. The button parameter is one of GLUT_LEFT_BUTTON, GLUT_MIDDLE_BUTTON, or GLUT_RIGHT_BUTTON. For
systems with only two mouse buttons, it may not be possible to generate GLUT_MIDDLE_BUTTON callback. For systems with a single mouse but-
ton, it may be possible to generate only a GLUT_LEFT_BUTTON callback. The state parameter 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
mouse button state changed. If a GLUT_DOWN callback for a specific button is triggered, the program can assume a GLUT_UP callback for the
same button will be generated (assuming the window still has a mouse callback registered) when the mouse button is released even if the
mouse has moved outside the window.
If a menu is attached to a button for a window, mouse callbacks will not be generated for that button.
During a mouse callback, glutGetModifiers may be called to determine the state of modifier keys when the mouse event generating the call-
back occurred.
Passing NULL to glutMouseFunc disables the generation of mouse callbacks.
SEE ALSO
glutKeyboardFunc, glutMotionFunc, glutSpaceballButtonFunc, glutButtonBoxFunc, glutTabletButtonFunc, glutGetModifiers
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutMouseFunc(3GLUT)