#include <Fl_Button_Group.h>
Inheritance diagram for Fl_Button_Group:
Public Types | |
enum | { NORMAL_BUTTONS = 0, CHECK_BUTTONS, RADIO_BUTTONS } |
Public Methods | |
Fl_Button_Group (int x, int y, int w, int h, const char *label=0) | |
The traditional constructor creates the button group using the position, size, and label. | |
Fl_Button_Group (const char *l=0, int layout_size=30, Fl_Align layout_al=FL_ALIGN_TOP, int label_w=100) | |
The new style constructor creates the button group using the label, size, alignment, and label_width. | |
void | buttons (const Fl_String_List &sl) |
The buttons in the group are defined by the list of strings. | |
void | buttons (const Fl_Int_String_Map &sm) |
The buttons and their arguments in the group are defined by the map of integers to strings. | |
Fl_String | value () const |
Returns the set of values as strings, separated with '|'. | |
void | get_values (Fl_Int_String_Map &values) |
Returns the set of values as int to string map. | |
void | value (const char *s, const char *separator="|") |
void | value (const Fl_String &s, const char *separator="|") |
void | value (const Fl_String_List &sl) |
virtual void | reset () |
virtual void | layout () |
virtual void | preferred_size (int &x, int &y) const |
Static Public Attributes | |
Fl_Named_Style * | default_style |
Protected Methods | |
int | button_index (const char *label) |
void | deselect_all () |
virtual Fl_Button * | create_button (const char *label) |
Protected Attributes | |
Fl_Button * | m_input_button |
Fl_Input * | m_input |
Definition at line 13 of file Fl_Button_Group.h.