Method

PhoshDBusImplPortalAccesscall_access_dialog

Declaration [src]

void
phosh_dbus_impl_portal_access_call_access_dialog (
  PhoshDBusImplPortalAccess* proxy,
  const gchar* arg_handle,
  const gchar* arg_app_id,
  const gchar* arg_parent_window,
  const gchar* arg_title,
  const gchar* arg_subtitle,
  const gchar* arg_body,
  GVariant* arg_options,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Asynchronously invokes the AccessDialog() D-Bus method on proxy. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). You can then call phosh_dbus_impl_portal_access_call_access_dialog_finish() to get the result of the operation.

See phosh_dbus_impl_portal_access_call_access_dialog_sync() for the synchronous, blocking version of this method.

Parameters

arg_handle const gchar*
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
arg_app_id const gchar*
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
arg_parent_window const gchar*
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
arg_title const gchar*
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
arg_subtitle const gchar*
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
arg_body const gchar*
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
arg_options GVariant
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
cancellable GCancellable
 

A GCancellable or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

A GAsyncReadyCallback to call when the request is satisfied or NULL.

 The argument can be NULL.
user_data gpointer
 

User data to pass to callback.

 The argument can be NULL.
 The data is owned by the caller of the function.