summaryrefslogtreecommitdiff
path: root/documentation/Fl_Toggle_Button.html
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-03-29 14:40:44 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-03-29 14:40:44 +0000
commit668f1270247aab38f4b8ad78ad0c44e9a87278f6 (patch)
tree27bd6232576e0a84671f87d5c41d0dd1a8953ddb /documentation/Fl_Toggle_Button.html
parent467bedb31558ac3a505d36c798574b81c35d605f (diff)
Str 1171: added documentation for Fl_Toggle_Button
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4884 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Toggle_Button.html')
-rw-r--r--documentation/Fl_Toggle_Button.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/documentation/Fl_Toggle_Button.html b/documentation/Fl_Toggle_Button.html
new file mode 100644
index 000000000..d9063c4e2
--- /dev/null
+++ b/documentation/Fl_Toggle_Button.html
@@ -0,0 +1,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 &lt;FL/Fl_Toggle_Button.H&gt;
+</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 &quot;on&quot; 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>