call_screenshot_sync


Description:

public bool call_screenshot_sync (bool arg_include_cursor, bool arg_flash, string arg_filename, out bool out_success, out string out_filename_used, Cancellable? cancellable = null) throws Error

Synchronously invokes the <link linkend="gdbus-method-org-gnome-Shell-Screenshot.

Screenshot">Screenshot</link> D-Bus method on this. The calling thread is blocked until a reply is received.

See call_screenshot for the asynchronous version of this method.

Parameters:

this

A DBusScreenshotProxy.

arg_include_cursor

Argument to pass with the method invocation.

arg_flash

Argument to pass with the method invocation.

arg_filename

Argument to pass with the method invocation.

out_success

Return location for return parameter or null to ignore.

out_filename_used

Return location for return parameter or null to ignore.

cancellable

A Cancellable or null.

Returns:

true if the call succeeded, false if throws is set.