blob: d9063c4e217a574c745b1657b598017ff7a83db0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<HTML><BODY>
<!-- NEW PAGE -->
<H2><A name=Fl_Toggle_Button>class Fl_Toggle_Button</A></H2>
<HR>
<H3>Class Hierarchy</H3>
<UL>
<PRE>
<A href=Fl_Button.html#Fl_Button>Fl_Button</A>
|
+----<B>Fl_Toggle_Button</B>
</PRE>
</UL>
<H3>Include Files</H3>
<UL>
<PRE>
#include <FL/Fl_Toggle_Button.H>
</PRE>
</UL>
<H3>Description</H3>
<P>The toggle button is a push button that needs to be clicked once
to toggle on, and one more time to toggle off.
The <TT>Fl_Toggle_Button</TT> subclass displays the "on" state by
drawing a pushed-in button.</P>
<P>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>.
<H3>Methods</H3>
<UL>
<LI><A href=#Fl_Toggle_Button.Fl_Toggle_Button>Fl_Toggle_Button</A></LI>
<LI><A href=#Fl_Toggle_Button.~Fl_Toggle_Button>~Fl_Toggle_Button</A></LI>
</UL>
<H4><A name=Fl_Toggle_Button.Fl_Toggle_Button>
Fl_Toggle_Button::Fl_Toggle_Button(int x, int y, int w, int h, const char
*label = 0)</A></H4>
Creates a new <TT>Fl_Toggle_Button</TT> widget using the given
position, size, and label string.
<H4><A name=Fl_Toggle_Button.~Fl_Toggle_Button>
Fl_Toggle_Button::~Fl_Toggle_Button()</A></H4>
The destructor deletes the toggle button. </BODY></HTML>
|