Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_Button_Group Class Reference

Fl_Button_Group. More...

#include <Fl_Button_Group.h>

Inheritance diagram for Fl_Button_Group:

Fl_Widget Fl_Check_Buttons Fl_Radio_Buttons List of all members.

Public Types


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


Protected Methods

int button_index (const char *label)
void deselect_all ()
virtual Fl_Buttoncreate_button (const char *label)

Protected Attributes


Detailed Description


Definition at line 13 of file Fl_Button_Group.h.

The documentation for this class was generated from the following file:
Generated on Thu Jul 31 15:33:46 2003 for eFLTK by doxygen1.2.15