cwidget 0.5.16
Classes | Public Member Functions | Public Attributes
cwidget::widgets::radiogroup Class Reference
Inheritance diagram for cwidget::widgets::radiogroup:
trackable

List of all members.

Classes

struct  item

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.

Public Attributes

sigc::signal1< void, int > item_selected

Member Function Documentation

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

Destroy this radio group.

int cwidget::widgets::radiogroup::get_selected ( )
Returns:
the id of the selected button, if the selection is 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: