glv::Button Class Reference

Single button. More...

#include <glv_buttons.h>

Inheritance diagram for glv::Button:

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

List of all members.

Public Member Functions

 Button (const Rect &r=Rect(20), bool toggles=true, iconFunc on=draw::rect, iconFunc off=0)
bool value () const
 Get value.
Buttonvalue (bool v)
 Set value and notify observers.


Detailed Description

Single button.

Constructor & Destructor Documentation

glv::Button::Button ( const Rect r = Rect(20),
bool  toggles = true,
iconFunc  on = draw::rect,
iconFunc  off = 0 
) [inline]

Parameters:
[in] r geometry
[in] toggles whether the button toggles
[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