navigator_invoke_viewer_set_width()

The use of viewers has been deprecated - please use applications or cards as invocation targets.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_viewer_set_width(navigator_invoke_viewer_t *viewer, int width) BPS_DEPRECATED

Arguments:

viewer

A pointer to the navigator_invoke_viewer_t structure whose width you want to set.

width

The width in pixels you want to set to a window created by the viewer. The value must be an integer. For example, "100" is an acceptable width.

Library:

libbps

Description:

Deprecated:

The use of viewers has been deprecated - please use applications or cards as invocation targets.

The navigator_invoke_viewer_set_width() function sets the window width of a given navigator_invoke_viewer_t structure. The width member identifies the width of a window created by the viewer. You must set a width to all navigator_invoke_viewer_t structures.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.