PushButton

PushButtonSetStyle

Set the delimiters or frame used to draw the button

Syntax

Signature
xBool           PushButtonSetStyle( PushButton *pushButton, const char *style );

Arguments

pushButton the push button.

style an empty string, two or eight UTF-8 characters to copy, or NULL to restore the default "<>".

Return value

T on success, or F if the object is NULL or a supplied style has a length other than zero, two or eight characters.

Description

An empty string uses only the caption. Two characters place a left and right delimiter on its row. Eight characters draw a frame three rows high with the caption in the middle. Use a frame string in `DispBox()` order, such as `B_SINGLE` or `B_DOUBLE` from `xdev-wtui-box.h`.

See also