fltk/documentation/Fl_Box.html

53 lines
1.2 KiB
HTML
Raw Normal View History

<html>
<body>
<hr break>
<h2><a name="Fl_Box">class Fl_Box</a></h2>
<hr>
<h3>Class Hierarchy</h3>
<ul><pre>
<a href="#Fl_Widget">Fl_Widget</a>
|
+----<b>Fl_Box</b>
</pre></ul>
<h3>Include Files</h3>
<ul><pre>
#include &lt;FL/Fl_Box.H>
</pre></ul>
<h3>Description</h3>
This widget simply draws its box, and possibly it's label. Putting it
before some other widgets and making it big enough to surround them
will let you draw a frame around them.
<h3>Methods</h3>
<ul>
<li><a href="#Fl_Box.Fl_Box">Fl_Box</a>
<li><a href="#Fl_Box.~Fl_Box">~Fl_Box</a>
</ul>
<h4><a name="Fl_Box.Fl_Box">Fl_Box::Fl_Box(int x, int y, int w, int h, const char * = 0)<br>
Fl_Box::Fl_Box(Fl_Boxtype b, int x, int y, int w, int h, const char *)</a></h4>
The first constructor sets <tt>box()</tt> to <tt>FL_NO_BOX</tt>, which
means it is invisible. However such widgets are useful as placeholders
or <a href=#Fl_Group.resizable"><tt>Fl_Group::resizable()</tt></a>
values. To change the box to something visible, use <tt>box(n)</tt>.
<p>The second form of the constructor sets the box to the specified box type.
<h4><a name="Fl_Box.~Fl_Box">Fl_Box::~Fl_Box(void)</a></h4>
The destructor removes the box.
</body>
</html>