FLTK 1.3.2
Fl_Check_Button Class Reference

A button with an "checkmark" to show its status. More...

#include <Fl_Check_Button.H>

Inheritance diagram for Fl_Check_Button:
Fl_Light_Button Fl_Button Fl_Widget

List of all members.

Public Member Functions

 Fl_Check_Button (int X, int Y, int W, int H, const char *L=0)
 Creates a new Fl_Check_Button widget using the given position, size and label string.

Detailed Description

A button with an "checkmark" to show its status.

Fl_Check_Button.png
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 displays its "ON" state by showing a "checkmark" rather than drawing itself pushed in.

Todo:

Refactor Fl_Check_Button doxygen comments (add color() info etc?)

Generate Fl_Check_Button.gif with visible checkmark.


Constructor & Destructor Documentation

Fl_Check_Button::Fl_Check_Button ( int  X,
int  Y,
int  W,
int  H,
const char *  L = 0 
)

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

Parameters:
[in]X,Y,W,Hposition and size of the widget
[in]Lwidget label, default is no label

The documentation for this class was generated from the following files: