ClanSoft logo
ClanSoft logo
Entire Class Index Main Class Index Cross Index Global Index

Class CL_RadioButton

CheckBox component
Contained in: global
Derived from: CL_Button
Derived by: none
Group: GUI (Controls)

#include <ClanLib/gui.h>


public function member index:

Construction:

CL_RadioButton(CL_Component* parent, CL_StyleManager* style = NULL);
CL_RadioButton(const CL_Point& pos, const std::string& text, CL_Component* parent, CL_StyleManager* style = NULL);
CL_RadioButton(const std::string& text, CL_Component* parent, CL_StyleManager* style = NULL);
virtual ~CL_RadioButton();

Attributes:

bool is_checked() const;

Operations:

void set_checked(bool check);
 

private function member index:

Implementation:

CL_RadioButton(const CL_RadioButton& copy);
 

Description:


Function Member Descriptions:

CL_RadioButton::CL_RadioButton - RadioButton constructor
CL_RadioButton(CL_Component* parent, CL_StyleManager* style = NULL);


CL_RadioButton::CL_RadioButton - RadioButton constructor
CL_RadioButton(const CL_Point& pos, const std::string& text, CL_Component* parent, CL_StyleManager* style = NULL);


CL_RadioButton::CL_RadioButton - RadioButton constructor
CL_RadioButton(const std::string& text, CL_Component* parent, CL_StyleManager* style = NULL);


CL_RadioButton::is_checked - Returns true if the radiobutton is checked, or false if it is not checked.
bool is_checked() const;


CL_RadioButton::set_checked - Checks the radiobutton if check is true, or unchecks it if check is false.
void set_checked(bool check);


CL_RadioButton::~CL_RadioButton - RadioButton destructor
virtual ~CL_RadioButton();