navigator_event_get_orientation_size_width()

Get the width from a navigator orientation size event.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_event_get_orientation_size_width(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The NAVIGATOR_ORIENTATION_SIZE event.

Library:

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

Description:

The navigator_event_get_orientation_size_width() function extracts the width from a NAVIGATOR_ORIENTATION_SIZE event.

Returns:

The width of the window after rotation, in pixels.