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

Fl_Check_Button Class Reference

Buttons generate callbacks when they are clicked by the user. More...

#include <Fl_Check_Button.h>

Inheritance diagram for Fl_Check_Button:

Fl_Button Fl_Widget Fl_Light_Button Fl_Radio_Button Fl_Radio_Light_Button Fl_Round_Button List of all members.

Public Methods

 Fl_Check_Button (int x, int y, int w, int h, const char *l=0)
 The traditional constructor creates the check button using the position, size, and label.

 Fl_Check_Button (const char *l=0, int layout_size=30, Fl_Align layout_al=FL_ALIGN_TOP)
 The new style constructor creates the check button using the label, size, alignment.

virtual void preferred_size (int &w, int &h) const
virtual void draw ()
virtual bool load_data (Fl_Data_Source *ds)
virtual bool save_data (Fl_Data_Source *ds)
virtual void reset ()

Static Public Attributes

Fl_Named_Styledefault_style

Detailed Description

Buttons generate callbacks when they are clicked by the user.

You control exactly when and how by changing the values for type() and when().

The Fl_Check_Button subclass display the "on" state by turning on a light, rather than drawing pushed in.

Definition at line 33 of file Fl_Check_Button.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