9e3f8a1db6
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
45 lines
1.3 KiB
HTML
45 lines
1.3 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Fl_Box</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<!-- NEW PAGE -->
|
|
<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 <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>
|
|
<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.html#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>
|