<HTML><HEAD><TITLE>Manpage of XmBulletinBoard</TITLE>
</HEAD><BODY>
<H1>XmBulletinBoard</H1>
Section: LessTif Manuals (3)<BR>Updated: April 1998<BR><A HREF="#index">Index</A>
<BR><A HREF="lesstif.html">Return to Main Contents</A>
<HR>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

XmBulletinBoard
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>#include &lt;<A HREF="include/Xm/BulletinB.h">Xm/BulletinB.h</A>&gt;</B>

<P>

<B>XmBulletinBoard</B>

<P>

<B><A HREF="XmCreateBulletinBoard.html">XmCreateBulletinBoard</A></B>(3x)

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

XmBulletinBoard is a widget that serves two main purposes.
It is the basic widget for geometry management,
of which many other manager widgets are subclassed.
XmBulletinBoard is also designed to be the widget to build
dialogs with.
<P>

Both the layout (geometry) management and the dialog features
are excellent reasons to subclass from XmBulletinBoard.
<P>

Finally, XmBulletinBoard and its subclasses are recognised and
treated especially by XmDialogShell.
In normal circumstances,
managing (with
<B><A HREF="XtManageChild.html">XtManageChild</A></B>(3x)

) a XmBulletinBoard
which is a direct child of a XmDialogShell will pop up a dialog window.
<A NAME="lbAE">&nbsp;</A>
<H2>X RESOURCES</H2>

<TABLE>
<TR VALIGN=top><TD>Name</TD><TD>Class</TD><TD>Type</TD><TD>Default</TD><TD>Access<BR></TD></TR>
<TR VALIGN=top><TD COLSPAN=5><HR></TD></TR>
<TR VALIGN=top><TD>XmNshadowType</TD><TD>XmCShadowType</TD><TD>ShadowType</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNshadowThickness</TD><TD>XmCShadowThickness</TD><TD>HorizontalDimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNmarginWidth</TD><TD>XmCMarginWidth</TD><TD>HorizontalDimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNmarginHeight</TD><TD>XmCMarginHeight</TD><TD>VerticalDimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNdefaultButton</TD><TD>XmCWidget</TD><TD>Widget</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNcancelButton</TD><TD>XmCWidget</TD><TD>Widget</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNfocusCallback</TD><TD>XmCCallback</TD><TD>Callback</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNmapCallback</TD><TD>XmCCallback</TD><TD>Callback</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNunmapCallback</TD><TD>XmCCallback</TD><TD>Callback</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNbuttonFontList</TD><TD>XmCButtonFontList</TD><TD>FontList</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNlabelFontList</TD><TD>XmCLabelFontList</TD><TD>FontList</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNtextFontList</TD><TD>XmCTextFontList</TD><TD>FontList</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNtextTranslations</TD><TD>XmCTranslations</TD><TD>TranslationTable</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNallowOverlap</TD><TD>XmCAllowOverlap</TD><TD>Boolean</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNautoUnmanage</TD><TD>XmCAutoUnmanage</TD><TD>Boolean</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNdefaultPosition</TD><TD>XmCDefaultPosition</TD><TD>Boolean</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNresizePolicy</TD><TD>XmCResizePolicy</TD><TD>ResizePolicy</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNnoResize</TD><TD>XmCNoResize</TD><TD>Boolean</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNdialogStyle</TD><TD>XmCDialogStyle</TD><TD>DialogStyle</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNdialogTitle</TD><TD>XmCDialogTitle</TD><TD>XmString</TD><TD>(null)</TD><TD>CSG<BR></TD></TR>
</TABLE>

<P>

<B>XmNshadowType</B>

<P>

<B>XmNshadowThickness</B>

<P>

<B>XmNmarginWidth</B>

<P>

<B>XmNmarginHeight</B>

<P>

<B>XmNdefaultButton</B>

<P>

<B>XmNcancelButton</B>

is a resource which contains the widget ID for the cancel button which
is automatically created when you call some functions such as
<B><A HREF="XmCreateMessageBox.html">XmCreateMessageBox</A></B>(3x)<B>.</B>

The cancel button can be removed by calling
<B><A HREF="XtDestroyWidget.html">XtDestroyWidget</A></B>(3x)

or it can be hidden by calling
<B><A HREF="XtUnmanageChild.html">XtUnmanageChild</A></B>(3x)<B>.</B>

<P>

<B>XmNfocusCallback</B>

<P>

<B>XmNmapCallback</B>

is a callback list which is called prior to mapping the dialog.
<P>

<B>XmNunmapCallback</B>

<P>

<B>XmNbuttonFontList</B>

specifies the fontList used for button children.
<P>

<B>XmNlabelFontList</B>

specifies the fontList used for label children.
<P>

<B>XmNtextFontList</B>

specifies the fontList for
<B><A HREF="XmText.html">XmText</A></B>(3x)

or
<B><A HREF="XmTextField.html">XmTextField</A></B>(3x)

widgets which are children of the bulletinboard.
<P>

<B>XmNtextTranslations</B>

<P>

<B>XmNallowOverlap</B>

<P>

<B>XmNautoUnmanage</B>

specifies that the dialog will automatically pop down when the user
activates a button in the dialog other than the Apply or Help buttons.
If this resource is not set,
the dialog must be popped down by an action in the application
(most likely by calling
<B><A HREF="XtUnmanageChild.html">XtUnmanageChild</A></B>(3x)

from inside some callback function).
<P>

<B>XmNdefaultPosition</B>

will position the dialog centered above the window that calls it.
If this resources is not set,
the application should position the dialog e.g. by setting XmNx and XmNy
from a function called from the XmNokCallback.
<P>

<B>XmNresizePolicy</B>

<P>

<B>XmNnoResize</B>

<P>

<B>XmNdialogStyle</B>

This only works if the bulletinboard is a child of a
<B><A HREF="XmDialogShell.html">XmDialogShell</A></B>(3x)

widget.
<P>

<B>XmNdialogTitle</B>

specifies the dialog's title,
which is passed to the window manager.
This only works if the bulletinboard is a child of a
<B><A HREF="XmDialogShell.html">XmDialogShell</A></B>(3x)

widget.
<P>

<A NAME="lbAF">&nbsp;</A>
<H2>CLASS HIERARCHY</H2>

<B><A HREF="Object.html">Object</A></B>(3)

<B><A HREF="Rect.html">Rect</A></B>(3)

<B><A HREF="UnNamedObj.html">UnNamedObj</A></B>(3)

<B><A HREF="Core.html">Core</A></B>(3)

<B><A HREF="Composite.html">Composite</A></B>(3)

<B><A HREF="Constraint.html">Constraint</A></B>(3)

<B><A HREF="XmManager.html">XmManager</A></B>(3)

<B><A HREF="XmBulletinBoard.html">XmBulletinBoard</A></B>(3)

<A NAME="lbAG">&nbsp;</A>
<H2>CALLBACKS</H2>

There is no widget specific structure passed by the callback functions.
The data passed is a pointer to a structure of type XmAnyCallbackStruct :
<FONT SIZE=-1><BR>&nbsp;typedef&nbsp;struct&nbsp;{</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;reason;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;XEvent&nbsp;*event;
<BR>&nbsp;}&nbsp;XmAnyCallbackStruct;
<FONT SIZE=-1></FONT><A NAME="lbAH">&nbsp;</A>
<H2>CONVENIENCE FUNCTIONS</H2>


<B><A HREF="XmCreateBulletinBoardDialog.html">XmCreateBulletinBoardDialog</A></B>(3x)

<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>

<B><A HREF="XmDialogShell.html">XmDialogShell</A></B>(3x)

<P>

<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">X RESOURCES</A><DD>
<DT><A HREF="#lbAF">CLASS HIERARCHY</A><DD>
<DT><A HREF="#lbAG">CALLBACKS</A><DD>
<DT><A HREF="#lbAH">CONVENIENCE FUNCTIONS</A><DD>
<DT><A HREF="#lbAI">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="http://www.debian.org/Packages/unstable/doc/man2html.html">man2html</A>,
using the manual pages.<BR>
Time: 22:45:31 GMT, January 14, 2000
</BODY>
</HTML>
