2006-10-29 17:16:03 +03:00
|
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
|
|
<TITLE>Fl_Check_Button</TITLE>
|
|
|
|
</HEAD>
|
|
|
|
<BODY>
|
2001-11-28 21:00:17 +03:00
|
|
|
<!-- NEW PAGE -->
|
1999-01-13 22:28:54 +03:00
|
|
|
<H2><A name=Fl_Check_Button>class Fl_Check_Button</A></H2>
|
|
|
|
<HR>
|
|
|
|
<H3>Class Hierarchy</H3>
|
|
|
|
<UL>
|
|
|
|
<PRE>
|
|
|
|
<A href=Fl_Button.html#Fl_Button>Fl_Button</A>
|
1998-12-29 17:21:17 +03:00
|
|
|
|
|
1999-01-13 22:28:54 +03:00
|
|
|
+----<B>Fl_Check_Button</B>
|
|
|
|
</PRE>
|
|
|
|
</UL>
|
|
|
|
<H3>Include Files</H3>
|
|
|
|
<UL>
|
|
|
|
<PRE>
|
|
|
|
#include <FL/Fl_Check_Button.H>
|
|
|
|
</PRE>
|
|
|
|
</UL>
|
|
|
|
<H3>Description</H3>
|
2001-11-29 22:24:00 +03:00
|
|
|
Buttons generate callbacks when they are clicked by the user. You
|
1999-01-13 22:28:54 +03:00
|
|
|
control exactly when and how by changing the values for <TT>type()</TT>
|
1999-01-19 23:53:39 +03:00
|
|
|
and <TT>when()</TT>.
|
2001-05-06 20:25:05 +04:00
|
|
|
<P ALIGN=CENTER><IMG SRC="Fl_Check_Button.gif" ALT="Fl_Check_Button widget"></P>
|
2001-11-29 22:24:00 +03:00
|
|
|
<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
|
2001-05-06 20:25:05 +04:00
|
|
|
defaults to FL_RED.</P>
|
1999-01-13 22:28:54 +03:00
|
|
|
<H3>Methods</H3>
|
|
|
|
<UL>
|
|
|
|
<LI><A href=#Fl_Check_Button.Fl_Check_Button>Fl_Check_Button</A></LI>
|
|
|
|
<LI><A href=#Fl_Check_Button.~Fl_Check_Button>~Fl_Check_Button</A></LI>
|
|
|
|
</UL>
|
|
|
|
<H4><A name=Fl_Check_Button.Fl_Check_Button>
|
2001-11-29 22:24:00 +03:00
|
|
|
Fl_Check_Button::Fl_Check_Button(int x, int y, int w, int h, const char
|
1999-01-13 22:28:54 +03:00
|
|
|
*label = 0)</A></H4>
|
2001-11-29 22:24:00 +03:00
|
|
|
Creates a new <TT>Fl_Check_Button</TT> widget using the given
|
|
|
|
position, size, and label string.
|
1999-01-13 22:28:54 +03:00
|
|
|
<H4><A name=Fl_Check_Button.~Fl_Check_Button>
|
|
|
|
Fl_Check_Button::~Fl_Check_Button()</A></H4>
|
1999-01-19 23:53:39 +03:00
|
|
|
The destructor deletes the check button. </BODY></HTML>
|