handle_screenshot_area


Description:

public virtual signal bool handle_screenshot_area (DBusMethodInvocation invocation, int arg_x, int arg_y, int arg_width, int arg_height, bool arg_flash, string arg_filename)

Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-gnome-Shell-Screenshot.

ScreenshotArea">ScreenshotArea</link> D-Bus method.

If a signal handler returns true, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call complete_screenshot_area or e.g. return_error on it) and no other signal handlers will run. If no signal handler handles the invocation, the g_dbus_error_unknown_method error is returned.

Parameters:

invocation

A DBusMethodInvocation.

arg_x

Argument passed by remote caller.

arg_y

Argument passed by remote caller.

arg_width

Argument passed by remote caller.

arg_height

Argument passed by remote caller.

arg_flash

Argument passed by remote caller.

arg_filename

Argument passed by remote caller.

Returns:

g_dbus_method_invocation_handled or true if the invocation was handled, g_dbus_method_invocation_unhandled or false to let other signal handlers run.