gltk
0.3
a C++ widget library built on GLUT
|
A Widget that popups a menu on click. More...
#include <popup.hh>
Protected Member Functions | |
virtual void | on_menu_select (int item) |
called on item selection | |
void | release_menu () |
destroy the menu so it will be rebuilt on next popup | |
Protected Attributes | |
std::vector< std::string > | menu |
list of selectable strings |
A Widget that popups a menu on click.
This provides an access to the popup menu of GLUT.