Signal
PhoshDBusScreenshot::handle-screenshot-area
Declaration
gboolean
handle_screenshot_area (
PhoshDBusScreenshot* self,
GDBusMethodInvocation* invocation,
gint arg_x,
gint arg_y,
gint arg_width,
gint arg_height,
gboolean arg_flash,
gchar* arg_filename,
gpointer user_data
)
Description [src]
Signal emitted when a remote caller is invoking the ScreenshotArea() 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 phosh_dbus_screenshot_complete_screenshot_area() or e.g. g_dbus_method_invocation_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.
| Default handler: The default handler is called after the handlers added via |
Parameters
invocation-
Type:
GDBusMethodInvocationA
GDBusMethodInvocation.The data is owned by the caller of the function. arg_x-
Type:
gintArgument passed by remote caller.
arg_y-
Type:
gintArgument passed by remote caller.
arg_width-
Type:
gintArgument passed by remote caller.
arg_height-
Type:
gintArgument passed by remote caller.
arg_flash-
Type:
gbooleanArgument passed by remote caller.
arg_filename-
Type:
gchar*Argument passed by remote caller.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.