87dd7f0d23
git-svn-id: file:///fltk/svn/fltk/trunk@177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
54 lines
1.3 KiB
HTML
54 lines
1.3 KiB
HTML
<html>
|
|
<body>
|
|
|
|
<hr break>
|
|
|
|
<h2><a name="Fl_Check_Button">class Fl_Check_Button</a></h2>
|
|
|
|
<hr>
|
|
|
|
<h3>Class Hierarchy</h3>
|
|
|
|
<ul><pre>
|
|
<a href="#Fl_Button">Fl_Button</a>
|
|
|
|
|
+----<b>Fl_Check_Button</b>
|
|
</pre></ul>
|
|
|
|
<h3>Include Files</h3>
|
|
|
|
<ul><pre>
|
|
#include <FL/Fl_Check_Button.H>
|
|
</pre></ul>
|
|
|
|
<h3>Description</h3>
|
|
|
|
Buttons generate callbacks when they are clicked by the user. You
|
|
control exactly when and how by changing the values for <tt>type()</tt> and
|
|
<tt>when()</tt>.
|
|
|
|
<P>The <tt>Fl_Check_Button</tt> 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_DIAMOND_DOWN_BOX. The color of the
|
|
light when on is controlled with <tt>selection_color()<tt>, which defaults to
|
|
FL_RED.
|
|
|
|
<h3>Methods</h3>
|
|
|
|
<ul>
|
|
<li><a href="#Fl_Check_Button.Fl_Check_Button">Fl_Check_Button</a>
|
|
<li><a href="#Fl_Check_Button.~Fl_Check_Button">~Fl_Check_Button</a>
|
|
</ul>
|
|
|
|
<h4><a name="Fl_Check_Button.Fl_Check_Button">Fl_Check_Button::Fl_Check_Button(int x, int y, int w, int h, const char *label = 0)</a></h4>
|
|
|
|
Creates a new <tt>Fl_Check_Button</tt> widget using the given position,
|
|
size, and label string.
|
|
|
|
<h4><a name="Fl_Check_Button.~Fl_Check_Button">Fl_Check_Button::~Fl_Check_Button()</a></h4>
|
|
|
|
The destructor deletes the check button.
|
|
|
|
</body>
|
|
</html>
|