Public Member Functions

glv::Button Class Reference

Single button. More...

#include <glv_buttons.h>

Inheritance diagram for glv::Button:
glv::Buttons glv::Widget glv::View glv::DataModel glv::Notifier glv::SmartObject< View >

List of all members.

Public Member Functions

 Button (const Rect &r=Rect(20), bool momentary=false, iconFunc on=draw::rectangle, iconFunc off=0)
virtual const char * className () const
 Get class name.

Detailed Description

Single button.


Constructor & Destructor Documentation

glv::Button::Button ( const Rect r = Rect(20),
bool  momentary = false,
iconFunc  on = draw::rectangle,
iconFunc  off = 0 
) [inline]
Parameters:
[in] r geometry
[in] momentary whether the button state matches button press state
[in] on the on state icon
[in] off the off state icon

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