glv::Buttons Class Reference

Multiple buttons. More...

#include <glv_buttons.h>

Inheritance diagram for glv::Buttons:

glv::ButtonBase< V > glv::ValueWidget< V, bool > glv::View glv::TRect< T > glv::Notifier glv::SmartObject< BaseClass >

List of all members.

Public Member Functions

 Buttons (const Rect &r=Rect(20), int nx=1, int ny=1, bool toggles=true, bool mutExc=false, iconFunc on=draw::rect, iconFunc off=0)
bool value (int i) const
 Get value at 1D index.
Buttonsvalue (bool v, int i)
 Set value at 1D index and notify observers.
Buttonsvalue (bool v, int ix, int iy)
 Set value at 2D index and notify observers.


Detailed Description

Multiple buttons.

Constructor & Destructor Documentation

glv::Buttons::Buttons ( const Rect r = Rect(20),
int  nx = 1,
int  ny = 1,
bool  toggles = true,
bool  mutExc = false,
iconFunc  on = draw::rect,
iconFunc  off = 0 
) [inline]

Parameters:
[in] r geometry
[in] nx number along x (ignored by fixed size value types)
[in] ny number along y (ignored by fixed size value types)
[in] toggles whether the button toggles
[in] mutExc whether multiple buttons can be on
[in] on the on state icon
[in] off the off state icon


The documentation for this class was generated from the following file:

Generated on Thu Aug 12 23:55:16 2010 for GLV by  doxygen 1.5.5