CheckButton Class Reference

Inherits Button.

Inherited by LightButton, and RadioButton.

List of all members.

Public Member Functions

 CheckButton (int x, int y, int w, int h, const char *l=0)
virtual void draw ()

Static Public Attributes

NamedStyledefault_style


Detailed Description

This button turns the value() on and off each release of a click inside of it, and displays a checkmark to show the user this:

Fl_Check_Button.gif

You can control the color of the checkbox with color() and the color of the checkmark with textcolor(). You can make it draw different colors when turned on by setting selection_color() and selection_textcolor() on the widget (these are ignored if set in an inherited style()).


The documentation for this class was generated from the following files:
Sun Jan 7 00:55:17 2007. FLTK ©2006 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.