gltk 0.3
a C++ widget library built on GLUT
Protected Member Functions | Protected Attributes
gltk::Popup Class Reference

A Widget that popups a menu on click. More...

#include <popup.hh>

Inheritance diagram for gltk::Popup:
gltk::Widget gltk::ComboBoxText

List of all members.

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

Detailed Description

A Widget that popups a menu on click.

This provides an access to the popup menu of GLUT.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator