<HTML>
<HEAD><TITLE>BWidget</TITLE></HEAD>
<BODY BGCOLOR=white>
<IMG SRC="constr.gif" WIDTH="40" HEIGHT="40"> Under construction ...<BR>
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
<DD><B>BWidget</B>
- Description text
</DD></DL>
<DL>
<DT><I><A HREF="#wc">COMMAND</A></I></DT>
<DD>BWidget::<A HREF="#XLFDfont"><B>XLFDfont</B></A>
<I>cmd</I>
?<I>arg...</I>?
</DD>
<DD>BWidget::<A HREF="#assert"><B>assert</B></A>
<I>exp</I>
?<I>msg</I>?
</DD>
<DD>BWidget::<A HREF="#badOptionString"><B>badOptionString</B></A>
<I>type</I>
<I>value</I>
<I>list</I>
</DD>
<DD>BWidget::<A HREF="#bindMouseWheel"><B>bindMouseWheel</B></A>
<I>widget</I>
</DD>
<DD>BWidget::<A HREF="#classes"><B>classes</B></A>
<I>class</I>
</DD>
<DD>BWidget::<A HREF="#clonename"><B>clonename</B></A>
<I>menu</I>
</DD>
<DD>BWidget::<A HREF="#focus"><B>focus</B></A>
<I>option</I>
<I>path</I>
</DD>
<DD>BWidget::<A HREF="#get3dcolor"><B>get3dcolor</B></A>
<I>path</I>
<I>bgcolor</I>
</DD>
<DD>BWidget::<A HREF="#getname"><B>getname</B></A>
<I>name</I>
</DD>
<DD>BWidget::<A HREF="#grab"><B>grab</B></A>
<I>option</I>
<I>path</I>
</DD>
<DD>BWidget::<A HREF="#inuse"><B>inuse</B></A>
<I>class</I>
</DD>
<DD>BWidget::<A HREF="#library"><B>library</B></A>
<I>class</I> ?<i>class ...</i>?
</DD>
<DD>BWidget::<A HREF="#lreorder"><B>lreorder</B></A>
<I>list</I>
<I>neworder</I>
</DD>
<DD>BWidget::<A HREF="#parsetext"><B>parsetext</B></A>
<I>text</I>
</DD>
<DD>BWidget::<A HREF="#place"><B>place</B></A>
<I>path</I>
<I>w</I>
<I>h</I>
?<I>arg...</I>?
</DD>
<DD>BWidget::<A HREF="#write"><B>write</B></A>
<I>filename</I> ?<i>mode</i>?
</DD>
<DD>BWidget::<A HREF="#wrongNumArgsString"><B>wrongNumArgsString</B></A>
<I>string</I>
</DD>
</DL>
<BR><HR WIDTH="100%"><BR>
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
<P>
Description text
</P>
<HR WIDTH="50%"><BR>
<B><A NAME="wc">COMMAND</A></B><BR>
<DL><DT><A NAME="XLFDfont">BWidget::<B>XLFDfont</B></A>
<I>cmd</I>
?<I>arg...</I>?
</DT><DD>
Description text
</DD></DL>
<DL><DT><A NAME="assert">BWidget::<B>assert</B></A>
<I>exp</I>
?<I>msg</I>?
</DT><DD>
Description text
</DD></DL>
<DL><DT><A NAME="badOptionString">BWidget::<B>badOptionString</B></A>
<I>type</I>
<I>value</I>
<I>list</I>
</DT><DD>
Return a proper error string for a <i>value</i> of <i>type</i> that doesn't
match <i>list</i>.
</DD></DL>
<DL><DT><A NAME="bindMouseWheel">BWidget::<B>bindMouseWheel</B></A>
<I>widget</I>
</DT><DD>
Bind the given <i>widget</i> with the standard mouse wheel bindings.
</DD></DL>
<DL><DT><A NAME="classes">BWidget::<B>classes</B></A>
<I>class</I>
</DT><DD>
Returns a list of classes needed by the given <i>class</i>.
</DD></DL>
<DL><DT><A NAME="clonename">BWidget::<B>clonename</B></A>
<I>menu</I>
</DT><DD>
Description text
</DD></DL>
<DL><DT><A NAME="focus">BWidget::<B>focus</B></A>
<I>option</I>
<I>path</I>
</DT><DD>
Description text
</DD></DL>
<DL><DT><A NAME="get3dcolor">BWidget::<B>get3dcolor</B></A>
<I>path</I>
<I>bgcolor</I>
</DT><DD>
Description text
</DD></DL>
<DL><DT><A NAME="getname">BWidget::<B>getname</B></A>
<I>name</I>
</DT><DD>
Description text
</DD></DL>
<DL><DT><A NAME="grab">BWidget::<B>grab</B></A>
<I>option</I>
<I>path</I>
</DT><DD>
Description text
</DD></DL>
<DL><DT><A NAME="inuse">BWidget::<B>inuse</B></A>
<I>class</I>
</DT><DD>
Returns true or false if the given <i>class</i> is being used by the
current running program.
</DD></DL>
<DL><DT><A NAME="library">BWidget::<B>library</B></A>
<I>class</I>
?<i>class ...</i>?
</DT><DD>
Returns a string of code that contains all the libraries needed to
use the widgets given by <i>class</i>. Each class's code and the
code of its dependent classes is appended to the string and returned.
This is mostly useful for saving BWidgets to another project.
</DD></DL>
<DL><DT><A NAME="lreorder">BWidget::<B>lreorder</B></A>
<I>list</I>
<I>neworder</I>
</DT><DD>
Description text
</DD></DL>
<DL><DT><A NAME="parsetext">BWidget::<B>parsetext</B></A>
<I>text</I>
</DT><DD>
Description text
</DD></DL>
<DL><DT><A NAME="place">BWidget::<B>place</B></A>
<I>path</I>
<I>w</I>
<I>h</I>
?<I>arg...</I>?
</DT><DD>
Used to position and resize the widget specified by
<I>path</I>. <I>w</I> and <I>h</I> are used to specify the requested
width and height of the <I>path</I> widget for use by <B>wm
geometry</B> (set to 0 to use current values). The placement of the widget relative to other widgets or
the screen is controlled by additional arguments:
<DL>
<DT><B>at</B> <I>x</I> <I>y</I></DT>
<DD>Place the widget specified by the <I>path</I> argument at screen
position x,y. See <B>wm geometry</B> for information about window
placement values.</DD>
<DT><B>center</B> <I>?widget?</I></DT>
<DD>Place the <I>path</I> widget centered against <I>widget</I> or against the
root widget if <I>widget</I> is not given.</DD>
<DT><B>left</B> <I>?widget?</I></DT>
<DT><B>right</B> <I>?widget?</I></DT>
<DD>Place the <I>path</I> widget either left or right of the
reference widget (or the root widget if <I>widget</I> is not
specified). If the reference widget's position is such that the newly
placed window might be obscured then the opposite side will be tried.</DD>
<DT><B>above</B> <I>?widget?</I></DT>
<DT><B>below</B> <I>?widget?</I></DT>
<DD>As for left/right above, this option causes the widget to be
placed either above or below the reference widget with the opposite
placement being attempted if the newly placed widget will not be visible.
</DL>
</DL>
<DL><DT><A NAME="write">BWidget::<B>write</B></A>
<I>filename</I>
?<i>mode</i>?
</DT><DD>
Writes the currently used set of BWidget class code to the given
<i>filename</i>. All the code necessary to run the BWidgets
currently in use is written to the file. This is mostly useful
for saving BWidget code to another project as a single file instead
of the entire BWidget package.
</DD></DL>
<DL>
<DT><A NAME="wrongNumArgsString">BWidget::<B>wrongNumArgsString</B></A>
<I>string</I>
</DT>
<DD>
Returns a standard error string for the wrong number of arguments.
<i>string</i> is appended to the standard string.
</DD>
</DL>
</BODY></HTML>