cwidget  0.5.17
Classes | Public Member Functions | Public Attributes | List of all members
cwidget::widgets::radiogroup Class Reference
Inheritance diagram for cwidget::widgets::radiogroup:

Public Member Functions

void add_button (const util::ref_ptr< togglebutton > &b, int id)
 
void rem_button (const util::ref_ptr< togglebutton > &b)
 
void rem_button_bare (togglebutton &b)
 
bool selection_valid ()
 
int get_selected ()
 
void select (int id)
 
void destroy ()
 Destroy this radio group. More...
 

Public Attributes

sigc::signal1< void, int > item_selected
 

Member Function Documentation

◆ destroy()

void cwidget::widgets::radiogroup::destroy ( )

Destroy this radio group.

◆ get_selected()

int cwidget::widgets::radiogroup::get_selected ( )
Returns
the id of the selected button, if the selection is valid.

◆ selection_valid()

bool cwidget::widgets::radiogroup::selection_valid ( )
Returns
true if a button is selected.

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