PopUpMenu

PopUpSetBorder

Set the frame and separator characters of the menu

Syntax

Signature
xBool       PopUpSetBorder( PopUpMenu *popUp, const char *border );

Arguments

popUp the pop-up menu.

border an empty string, an eleven-character UTF-8 string to copy, or NULL to restore B_SINGLE followed by SEPARATOR_SINGLE.

Return value

T on success, or F if the object is NULL or a supplied nonempty border contains fewer or more than eleven characters.

Description

The first eight characters describe the frame in `DispBox()` order. The last three draw a separator's left end, repeated middle and right end. An empty string fills the frame with spaces and uses `MENU_SEPARATOR` between spaces for each separator.

See also