glutMenuDestroyFunc 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
     glutMenuDestroyFunc — Destruction callback for menus.

LIBRARY
     OpenGLUT - menucallback

SYNOPSIS
     #include <openglut.h>

     void
     glutMenuDestroyFunc(void( *callback )( void ));

PARAMETERS
      callback	   Client menu destruction hook.

DESCRIPTION
     When a menu is destroyed, OpenGLUT will call this hook, if defined on
     that menu.

     This callback is  not   bound to any window.

     This callback  is	 bound to a specific menu.

CAVEATS
     For emphasis, we repeat: This callback does not bind to any window.

TODO
     What on Earth is rationale for this feature? Menus should only be
     destroyed when we ask them to be destroyed, or when their window is
     destroyed. In the former case, we already know that the menu is being
     destroyed because we requested it.	 In the latter case, it is easy for
     the client to track that if they care, via window-destruction callbacks.

SEE ALSO
     glutCloseFunc(3) glutCreateMenu(3) glutDestroyMenu(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