navigator_window_cover_attribute_set_file()
Set the window cover image using a file.
Synopsis:
#include <bps/navigator.h>
BPS_API int navigator_window_cover_attribute_set_file(navigator_window_cover_attribute_t *attribute, const char *file)
Arguments:
- attribute
-
The window cover attribute handle.
- file
-
Path to an image file that will be used as the cover.
Library:
libbpsDescription:
There are 4 modes for covers: live, file, capture, or alternate window. If an image file is being used, live and capture will be disabled.
Returns:
On success return BPS_SUCCESS. Otherwise, return BPS_FAILURE with errno set, the file will not be changed.