XmBulletinBoard

NAME
SYNOPSYS
DESCRIPTION
X RESOURCES
CLASS HIERARCHY
CALLBACKS
CONVENIENCE FUNCTIONS
SEE ALSO

NAME

XmBulletinBoard

SYNOPSYS

#include <Xm/BulletinB.h>

XmBulletinBoard

XmCreateBulletinBoard(3x)

DESCRIPTION

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.

X RESOURCES

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.

CLASS HIERARCHY

Object(3) Rect(3) UnNamedObj(3) Core(3) Composite(3) Constraint(3) XmManager(3) XmBulletinBoard(3)

CALLBACKS

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;

CONVENIENCE FUNCTIONS

XmCreateBulletinBoardDialog(3x)

SEE ALSO

XmDialogShell(3x)