XmBulletinBoard
#include <Xm/BulletinB.h>
XmBulletinBoard
XmCreateBulletinBoard(3x)
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.
Both the layout (geometry) management and the dialog features are excellent reasons to subclass from XmBulletinBoard.
Finally, XmBulletinBoard and its subclasses are recognised and treated especially by XmDialogShell. In normal circumstances, managing (with XtManageChild(3x) ) a XmBulletinBoard which is a direct child of a XmDialogShell will pop up a dialog window.
XmNshadowType
XmNshadowThickness
XmNmarginWidth
XmNmarginHeight
XmNdefaultButton
XmNcancelButton is a resource which contains the widget ID for the cancel button which is automatically created when you call some functions such as XmCreateMessageBox(3x). The cancel button can be removed by calling XtDestroyWidget(3x) or it can be hidden by calling XtUnmanageChild(3x).
XmNfocusCallback
XmNmapCallback is a callback list which is called prior to mapping the dialog.
XmNunmapCallback
XmNbuttonFontList specifies the fontList used for button children.
XmNlabelFontList specifies the fontList used for label children.
XmNtextFontList specifies the fontList for XmText(3x) or XmTextField(3x) widgets which are children of the bulletinboard.
XmNtextTranslations
XmNallowOverlap
XmNautoUnmanage 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 XtUnmanageChild(3x) from inside some callback function).
XmNdefaultPosition 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.
XmNresizePolicy
XmNnoResize
XmNdialogStyle This only works if the bulletinboard is a child of a XmDialogShell(3x) widget.
XmNdialogTitle specifies the dialog’s title, which is passed to the window manager. This only works if the bulletinboard is a child of a XmDialogShell(3x) widget.
Object(3) Rect(3) UnNamedObj(3) Core(3) Composite(3) Constraint(3) XmManager(3) XmBulletinBoard(3)
There is no
widget specific structure passed by the callback functions.
The data passed is a pointer to a structure of type
XmAnyCallbackStruct :
typedef struct {
int reason;
XEvent *event;
} XmAnyCallbackStruct;
XmCreateBulletinBoardDialog(3x)
XmDialogShell(3x)