|
gltk
0.3
a C++ widget library built on GLUT
|
Widget showing and allowing selection from a list of items. More...
#include <listview.hh>
Public Member Functions | |
| void | set_list (ViewableList *list) |
| set the linked ViewableList | |
| void | add_render (ViewableList::RenderBase *render) |
| add a render to the view (only one is allowed for now) | |
| sigc::signal< void, int > & | signal_selected () |
| signal for selected item, argument is the index of the item | |
Widget showing and allowing selection from a list of items.
The range of view area is an Ajustment that can be controlled by a ScrollBar.