summaryrefslogtreecommitdiff
path: root/documentation/Fl_Light_Button.html
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/Fl_Light_Button.html')
-rw-r--r--documentation/Fl_Light_Button.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/documentation/Fl_Light_Button.html b/documentation/Fl_Light_Button.html
new file mode 100644
index 000000000..d60af5c97
--- /dev/null
+++ b/documentation/Fl_Light_Button.html
@@ -0,0 +1,53 @@
+<html>
+<body>
+
+<hr break>
+
+<h2><a name="Fl_Light_Button">class Fl_Light_Button</a></h2>
+
+<hr>
+
+<h3>Class Hierarchy</h3>
+
+<ul><pre>
+<a href="#Fl_Button">Fl_Button</a>
+ |
+ +----<b>Fl_Light_Button</b>
+</pre></ul>
+
+<h3>Include Files</h3>
+
+<ul><pre>
+#include &lt;FL/Fl_Light_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_Light_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_DOWN_BOX. The color of the
+light when on is controlled with <tt>selection_color()<tt>, which defaults to
+FL_YELLOW.
+
+<h3>Methods</h3>
+
+<ul>
+ <li><a href="#Fl_Light_Button.Fl_Light_Button">Fl_Light_Button</a>
+ <li><a href="#Fl_Light_Button.~Fl_Light_Button">~Fl_Light_Button</a>
+</ul>
+
+<h4><a name="Fl_Light_Button.Fl_Light_Button">Fl_Light_Button::Fl_Light_Button(int x, int y, int w, int h, const char *label = 0)</a></h4>
+
+Creates a new <tt>Fl_Light_Button</tt> widget using the given position,
+size, and label string.
+
+<h4><a name="Fl_Light_Button.~Fl_Light_Button">Fl_Light_Button::~Fl_Light_Button()</a></h4>
+
+The destructor deletes the check button.
+
+</body>
+</html>