~ubuntu-branches/ubuntu/edgy/fltk1.1/edgy

« back to all changes in this revision

Viewing changes to documentation/Fl_Check_Button.html

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2004-04-14 21:55:19 UTC
  • Revision ID: james.westby@ubuntu.com-20040414215519-avj0ojjkjni1s4ty
Tags: upstream-1.1.4+1.1.5rc1
ImportĀ upstreamĀ versionĀ 1.1.4+1.1.5rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<HTML><BODY>
 
2
<!-- NEW PAGE -->
 
3
<H2><A name=Fl_Check_Button>class Fl_Check_Button</A></H2>
 
4
<HR>
 
5
<H3>Class Hierarchy</H3>
 
6
<UL>
 
7
<PRE>
 
8
<A href=Fl_Button.html#Fl_Button>Fl_Button</A>
 
9
   |
 
10
   +----<B>Fl_Check_Button</B>
 
11
</PRE>
 
12
</UL>
 
13
<H3>Include Files</H3>
 
14
<UL>
 
15
<PRE>
 
16
#include &lt;FL/Fl_Check_Button.H&gt;
 
17
</PRE>
 
18
</UL>
 
19
<H3>Description</H3>
 
20
Buttons generate callbacks when they are clicked by the user.  You
 
21
control exactly when and how by changing the values for <TT>type()</TT>
 
22
and <TT>when()</TT>.
 
23
<P ALIGN=CENTER><IMG SRC="Fl_Check_Button.gif" ALT="Fl_Check_Button widget"></P>
 
24
<P>The <TT>Fl_Check_Button</TT> subclass display the &quot;on&quot; state by
 
25
turning on a light, rather than drawing pushed in.  The shape of the
 
26
&quot;light&quot; is initially set to FL_DIAMOND_DOWN_BOX.  The color of the
 
27
light when on is controlled with <TT>selection_color()</TT>, which
 
28
defaults to FL_RED.</P>
 
29
<H3>Methods</H3>
 
30
<UL>
 
31
<LI><A href=#Fl_Check_Button.Fl_Check_Button>Fl_Check_Button</A></LI>
 
32
<LI><A href=#Fl_Check_Button.~Fl_Check_Button>~Fl_Check_Button</A></LI>
 
33
</UL>
 
34
<H4><A name=Fl_Check_Button.Fl_Check_Button>
 
35
Fl_Check_Button::Fl_Check_Button(int x, int y, int w, int h, const char
 
36
*label = 0)</A></H4>
 
37
 Creates a new <TT>Fl_Check_Button</TT> widget using the given
 
38
position, size, and label string.
 
39
<H4><A name=Fl_Check_Button.~Fl_Check_Button>
 
40
Fl_Check_Button::~Fl_Check_Button()</A></H4>
 
41
 The destructor deletes the check button. </BODY></HTML>