BulletinBoard(3W) UNIX System V BulletinBoard(3W)
NAME
BulletinBoard - a simple manager widget
SYNOPSIS
#include <Intrinsic.h>
#include <StringDefs.h>
#include <OpenLook.h>
#include <.h>
widget = XtCreateWidget(name, bulletinBoardWidgetClass, ...);
DESCRIPTION
Simple Composite Widget
The BulletinBoard widget is a composite widget that enforces no ordering
on its children. It is up to the application to specify the x- and y-
coordinates of each child inserted; otherwise, it will be placed in the
upper left corner of the BulletinBoard widget.
No Children
The BulletinBoard can be mapped with no children. It displays an empty
space, possibly surrounded by a border.
BulletinBoard Coloration
Figure 1 illustrates the resources that affect the coloration of the
BulletinBoard widget.
Figure 1. Bulletin Board Coloration
Keyboard Traversal
The BulletinBoard widget is a composite widget and cannot be accessed via
keyboard traversal. Input focus moves between the Primitive children of
this widget.
RESOURCES
_______________________________________________________________________________________
| BulletinBoard Resource Set |
|_____________________|______________________|_________________|______________|________|
| Name | Class | Type | Default | Access|
|_____________________|______________________|_________________|______________|________|
_______________________________________________________________________________________
XtNancestorSensitive XtCSenstitive Boolean TRUE G*
_______________________________________________________________________________________
XtNbackground XtCBackground Pixel White SGI†
_______________________________________________________________________________________
XtNbackgroundPixmap XtCPixmap Pixmap (none) SGI†
_______________________________________________________________________________________
XtNborderColor XtCBorderColor Pixel Black SGI†
_______________________________________________________________________________________
XtNborderPixmap XtCPixmap Pixmap (none) SGI†
_______________________________________________________________________________________
XtNborderWidth XtCBorderWidth Dimension 0 SGI
_______________________________________________________________________________________
10/89 Page 1
BulletinBoard(3W) UNIX System V BulletinBoard(3W)
_______________________________________________________________________________________
| BulletinBoard Resource Set (cont'd) |
|_____________________|______________________|_________________|______________|________|
| Name | Class | Type | Default | Access|
|_____________________|______________________|_________________|______________|________|
| XtNconsumeEvent | XtCConsumeEvent | XtCallbackList | NULL | SG |
|_____________________|______________________|_________________|______________|________|
| XtNdepth | XtCDepth | int | (parent's) | GI |
|_____________________|______________________|_________________|______________|________|
| XtNdestroyCallback | XtCCallback | XtCallbackList | NULL | SI |
|_____________________|______________________|_________________|______________|________|
| XtNheight | XtCHeight | Dimension | (calculated)| SGI |
|_____________________|______________________|_________________|______________|________|
| XtNinputFocusColor | XtCInputFocusColor | Pixel | Black | SGI |
|_____________________|______________________|_________________|______________|________|
| XtNlayout | XtCLayout | OlDefine | OL_MINIMIZE | SGI |
|_____________________|______________________|_________________|______________|________|
| XtNmappedWhenManaged| XtCMappedWhenManaged| Boolean | TRUE | SGI |
|_____________________|______________________|_________________|______________|________|
| XtNsensitive | XtCSensitive | Boolean | TRUE | GI* |
|_____________________|______________________|_________________|______________|________|
| XtNuserData | XtCUserData | XtPointer | NULL | SGI |
|_____________________|______________________|_________________|______________|________|
| XtNwidth | XtCWidth | Dimension | (calculated)| SGI |
|_____________________|______________________|_________________|______________|________|
| XtNx | XtCPosition | Position | 0 | SGI |
|_____________________|______________________|_________________|______________|________|
| XtNy | XtCPosition | Position | 0 | SGI |
|_____________________|______________________|_________________|______________|________|
XtNlayout
Range of Values:
OL_MINIMIZE/"minimize"
OL_MAXIMIZE/"maximize"
OL_IGNORE/"ignore"
This resource identifies the layout policy the BulletinBoard widget is to
follow:
OL_MINIMIZE
The BulletinBoard widget will always be just large enough to
contain all its children, regardless of any provided width and
height values. Thus the BulletinBoard widget will grow and
shrink depending on the size needs of its children.
OL_IGNORE
The BulletinBoard widget will honor its own width and height; it
will not grow or shrink in response to the addition, deletion, or
altering of its children.
Page 2 10/89
BulletinBoard(3W) UNIX System V BulletinBoard(3W)
OL_MAXIMIZE
The BulletinBoard widget will ask for additional space when it
needs it for new or altered children, but will not give up extra
space.
10/89 Page 3