glutButtonBoxFunc

sets the dial & button box button callback for the current window.

Signature

glutButtonBoxFunc( )-> void
glutButtonBoxFunc( function )
Specify handler for GLUT 'ButtonBox' events
    def handler( (int) button, (int) state ):
        return None

Parameters

VariablesDescription
func
The new button box callback function.

See Also

glutDialsFunc glutDeviceGet glutSpaceballButtonFunc glutTabletButtonFunc