Interface

PhoshDBusImplPortalAccess

since: 0

Description [src]

interface Phosh.DBusImplPortalAccess : GObject.Object

Abstract interface type for the D-Bus interface org.freedesktop.impl.portal.Access.

Available since: 0

Prerequisite

In order to implement DBusImplPortalAccess, your type must inherit fromGObject.

Functions

phosh_dbus_impl_portal_access_interface_info

Gets a machine-readable description of the org.freedesktop.impl.portal.Access D-Bus interface.

since: 0

phosh_dbus_impl_portal_access_override_properties

Overrides all GObject properties in the PhoshDBusImplPortalAccess interface for a concrete class. The properties are overridden in the order they are defined.

since: 0

Instance methods

phosh_dbus_impl_portal_access_call_access_dialog

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.

since: 0

phosh_dbus_impl_portal_access_call_access_dialog_finish

Finishes an operation started with phosh_dbus_impl_portal_access_call_access_dialog().

since: 0

phosh_dbus_impl_portal_access_call_access_dialog_sync

Synchronously invokes the AccessDialog() D-Bus method on proxy. The calling thread is blocked until a reply is received.

since: 0

phosh_dbus_impl_portal_access_complete_access_dialog

Helper function used in service implementations to finish handling invocations of the AccessDialog() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

since: 0

Signals

Phosh.DBusImplPortalAccess::handle-access-dialog

Signal emitted when a remote caller is invoking the AccessDialog() D-Bus method.

since: 0

Interface structure

struct PhoshDBusImplPortalAccessIface {
  GTypeInterface parent_iface;
  gboolean (* handle_access_dialog) (
    PhoshDBusImplPortalAccess* object,
    GDBusMethodInvocation* invocation,
    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
  );
  
}

Virtual table for the D-Bus interface org.freedesktop.impl.portal.Access.

Interface members
parent_iface
GTypeInterface
 

The parent interface.

handle_access_dialog
gboolean (* handle_access_dialog) (
    PhoshDBusImplPortalAccess* object,
    GDBusMethodInvocation* invocation,
    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
  )
 No description available.

Virtual methods

Phosh.DBusImplPortalAccess.handle_access_dialog
No description available.

since: 0