|
#include <CRadioButtons.h>

Public Member Functions | |
| CRadioButtons (const char *label=0, int layoutSize=20, CLayoutAlign layoutAlignment=SP_ALIGN_TOP) | |
| virtual CControlKind | kind () const |
| SPTK internal control type. | |
| virtual std::string | className () const |
| SPTK internal class name. | |
| int32_t | intValue () const |
| Gets the selected button's ID. | |
| void | intValue (int32_t ID) |
| Sets the selected button by ID. | |
Static Public Member Functions | |
| static CLayoutClient * | creator (CXmlNode *node) |
| Creates a widget based on the XML node information. | |
Protected Member Functions | |
| virtual Fl_Button * | createButton (const char *label, int sz=10, CLayoutAlign layoutAlignment=SP_ALIGN_TOP) |
| Creates a radio button and adds it to the group. | |
A group of radio buttons with an optional edit entry for the 'Other' choice.
| sptk::CRadioButtons::CRadioButtons | ( | const char * | label = 0, |
|
| int | layoutSize = 20, |
|||
| CLayoutAlign | layoutAlignment = SP_ALIGN_TOP | |||
| ) |
SPTK-style constructor
| label | const char *, the widget label | |
| layoutSize | int, the size of widget in layout | |
| layoutAlignment | CLayoutAlign, widget align in the layout |
| static CLayoutClient* sptk::CRadioButtons::creator | ( | CXmlNode * | node | ) | [static] |
Creates a widget based on the XML node information.
| node | CXmlNode*, an XML node with widget information |
Reimplemented in sptk::CCheckButtons.