fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

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:
Collaboration diagram for Fl_Check_Button:

List of all members.

Public Member Functions

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

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.

Definition at line 51 of file Fl_Check_Button.H.


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

Definition at line 42 of file Fl_Check_Button.cxx.

References Fl_Widget::box(), Fl_Button::down_box(), FL_DOWN_BOX, FL_FOREGROUND_COLOR, FL_NO_BOX, and Fl_Widget::selection_color().


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