gltk 0.3
a C++ widget library built on GLUT
Public Member Functions
gltk::ListView Class Reference

Widget showing and allowing selection from a list of items. More...

#include <listview.hh>

Inheritance diagram for gltk::ListView:
gltk::Widget gltk::Adjustment gltk::Focusable gltk::Widget

List of all members.

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

Detailed Description

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.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator