Interface
PhoshDBusImplPortalAccess
Description [src]
interface Phosh.DBusImplPortalAccess : GObject.Object
Abstract interface type for the D-Bus interface org.freedesktop.impl.portal.Access.
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.
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.
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.
phosh_dbus_impl_portal_access_call_access_dialog_finish
Finishes an operation started with phosh_dbus_impl_portal_access_call_access_dialog().
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.
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.
Signals
Phosh.DBusImplPortalAccess::handle-access-dialog
Signal emitted when a remote caller is invoking the AccessDialog() D-Bus method.
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 |
|
The parent interface. |
|
handle_access_dialog |
|
Handler for the |
Virtual methods
Phosh.DBusImplPortalAccess.handle_access_dialog
Handler for the PhoshDBusImplPortalAccess::handle-access-dialog
signal.