Keywords: LessTif

Next: 6. RowColumn Specific Functions Up: 4. The GeoUtils Functions Previous: 4. Miscellaneous Functions Contents Index

## 5. BulletinBoard Helper Functions

The next several functions implement bits of BulletinBoard behavior.

This next function ensures that a BulletinBoard child is constrained within the margins of the BulletinBoard.

_XmGMEnforceMargin

    void
    _XmGMEnforceMargin(Widget w,
                       Dimension margin_width, Dimension margin_height,
                       Boolean useSetValues)

_XmGMOverlapThe next function implements the XmNallowOverlap behavior (or rather, if XmNallowOverlap is False, makes sure that children do not overlap).

    Boolean
    _XmGMOverlap(Widget w, Widget instigator,
                 Position x, Position y, Dimension width, Dimension height)

The next function computes the desired size of a BulletinBoard.

_XmGMCalcSize

    void
    _XmGMCalcSize(Widget w, Dimension margin_w, Dimension margin_h,
                  Dimension *retw, Dimension *reth)

The next function performs the BulletinBoard layout behavior.

_XmGMDoLayout

    void
    _XmGMDoLayout(Widget w, Dimension margin_w, Dimension margin_h,
                  unsigned char resize_policy, short adjust)