Signal

PhoshDBusImplPortalAccess::handle-access-dialog

Declaration

gboolean
handle_access_dialog (
  PhoshDBusImplPortalAccess* self,
  GDBusMethodInvocation* invocation,
  gchar* arg_handle,
  gchar* arg_app_id,
  gchar* arg_parent_window,
  gchar* arg_title,
  gchar* arg_subtitle,
  gchar* arg_body,
  GVariant* arg_options,
  gpointer user_data
)

Description [src]

Signal emitted when a remote caller is invoking the AccessDialog() 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_impl_portal_access_complete_access_dialog() or e.g. g_dbus_method_invocation_return_error() on it) and no order 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 g_signal_connect().

Parameters

invocation GDBusMethodInvocation
 

A GDBusMethodInvocation.

 The data is owned by the caller of the function.
arg_handle 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.
arg_app_id 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.
arg_parent_window 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.
arg_title 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.
arg_subtitle 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.
arg_body 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.
arg_options GVariant
 

Argument passed by remote caller.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the invocation was handled, FALSE to let other signal handlers run.