class Fl_Round_Button


class Fl_Round_Button -- round (lighted) button widget

Class Hierarchy


Include Files

#include <FL/Fl_Round_Button.H>


Buttons generate callbacks when they are clicked by the user. You control exactly when and how by changing the values for type() and when().

FLTK Round Button

The Fl_Round_Button subclass display the "on" state by turning on a light, rather than drawing pushed in. The shape of the "light" is initially set to FL_ROUND_DOWN_BOX. The color of the light when on is controlled with selection_color(), which defaults to FL_RED.


Fl_Round_Button::Fl_Round_Button(int x, int y, int w, int h, const char *label = 0)

Creates a new Fl_Round_Button widget using the given position, size, and label string.


The destructor deletes the check button.