Method

PhoshScreenshotManagerdo_screenshot

Declaration [src]

gboolean
phosh_screenshot_manager_do_screenshot (
  PhoshScreenshotManager* self,
  GdkRectangle* area,
  const char* filename,
  gboolean include_cursor
)

Description [src]

Initiate a screenshot of all outputs or the given area.

Parameters

area GdkRectangle
 

The area to capture or NULL to capture all outputs.

 The data is owned by the caller of the function.
filename const char*
  No description available.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
include_cursor gboolean
  No description available.

Return value

Returns: gboolean
 

-errno on failure, otherwise 0