take_screenshot


Description:

public bool take_screenshot (Rectangle? area, string? filename, bool copy_to_clipboard, bool include_cursor)

Initiate a screenshot of all outputs or the given area.

If `copy_to_clipboard` is `TRUE` the screenshot is also copied to the clipboard.

Parameters:

this

The screenshot manager

area

The area to capture or null to capture all outputs

filename

The output filename or null to autogenerate a filename

copy_to_clipboard

Whether to use the clipboard

include_cursor

Whether to include the cursor

Returns:

`FALSE` on failure, otherwise `TRUE`