glutattachmenu(3) - Linux man page

Name

glutAttachMenu - Attach the current menu to the current window.

Library

OpenGLUT - menus

Synopsis

#include <openglut.h>

void

glutAttachMenu(int button);

Parameters

button Mouse button to bind to

Description

Associates the button with the current menu in the current window.

Todo

Assumes 3 mouse buttons. (Actually FREEGLUT_MAX_MENUS holds the assumed number of buttons.) Cannot bind to more buttons. Will not issue any warnings or errors if the user does not have enough buttons to reach your menu.

See Also

glutcreatemenu(3) glutsetmenu(3) glutDetachMenu,(3)

BSD Epoch BSD

Referenced By

glutdetachmenu(3)