summaryrefslogtreecommitdiff
path: root/documentation/Fl_Box.html
blob: 4aa5cffeb2412d3166b4e23b0e866f2cf20eb654 (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>
<HR break>
<H2><A name=Fl_Box>class Fl_Box</A></H2>
<HR>
<H3>Class Hierarchy</H3>
<UL>
<PRE>
<A href=Fl_Widget.html#Fl_Widget>Fl_Widget</A>
   |
   +----<B>Fl_Box</B>
</PRE>
</UL>
<H3>Include Files</H3>
<UL>
<PRE>
#include &lt;FL/Fl_Box.H&gt;
</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>
<LI><A href=#Fl_Box.~Fl_Box>~Fl_Box</A></LI>
</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. </P>
<H4><A name=Fl_Box.~Fl_Box>Fl_Box::~Fl_Box(void)</A></H4>
 The destructor removes the box. </BODY></HTML>