glutMouseWheelFunc man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

UNTITLED			     LOCAL			      UNTITLED

NAME
     glutMouseWheelFunc — Sets the mouse wheel callback for the current win‐
     dow.

LIBRARY
     OpenGLUT - input

SYNOPSIS
     #include <openglut.h>

     void
     glutMouseWheelFunc(void( *callback )( int wheel, int direction, int x,
	 int y ));

PARAMETERS
      callback	   Client hook for mouse wheel events.

DESCRIPTION
     If the mouse wheel is spun over your (sub)window, OpenGLUT will, in the‐
     ory, report this via the MouseWheel callback.   wheel  is the wheel num‐
     ber,  direction  is +/- 1, and  x	and  y	are the mouse coordinates.

     If you do not register a wheel callback, wheel events will be reported as
     mouse buttons.

     This callback is bound to the  current window  .

CAVEATS
     Due to lack of information about the mouse, it is impossible to implement
     this correctly on X at this time.	Use of this function limits the porta‐
     bility of your application.  (This feature	 does	work on X, just not
     reliably.)	 You are encouraged to use the standard, reliable mouse-button
     reporting, rather than wheel events.

     Windows created via glutCreateMenuWindow() always cascade keyboard and
     mouse events to their parent.

SEE ALSO
     glutMouseFunc(3)

				     Epoch
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net