navigator_window_cover_label_set_wrap_text()

Set whether text will wrap.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_window_cover_label_set_wrap_text(navigator_window_cover_label_t *label,
                                                       bool wrap_text)

Since:

BlackBerry 10.0.0

Arguments:

label

The window cover label handle.

wrap_text

True for text to wrap. False for text not to wrap.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

If true, long text will wrap. If false, long text will be truncated.

Returns:

On success, BPS_SUCCESS. Otherwise, BPS_FAILURE with errno set, and the label will remain unchanged.