Trusted Solaris Developer's Guide

X11 Windows Label Clipping Interfaces

These routines translate a binary CMW label, sensitivity label, or clearance to a compound string using a font list. The returned string is clipped to the specified pixel width, or if width equals the display width (display), the label is word wrapped using a width of half the display width. See "Binary and Text Label Translation" for a description of the flags parameter. Refer to the labelclipping(3TSOL) man page.

/* CMW label */
	XmString Xbcltos(Display *display,
		const bclabel_t *cmwlabel,
		const Dimension width,
		const XmFontList fontlist,
		const int flags);

/* Sensitivity label */
	XmString Xbsltos(Display *display,
		const bslabel_t *senslabel,
		const Dimension width,
		const XmFontList fontlist,
		const int flags);

/* Clearance */
	XmString Xbcleartos(Display *display,
		const bclear_t *clearance,
		const Dimension width,
		const XmFontList fontlist,
		const int flags);