Interface

PhoshDBusMountOperationHandler

since: 0

Description [src]

interface Phosh.DBusMountOperationHandler : GObject.Object

Abstract interface type for the D-Bus interface org.Gtk.MountOperationHandler.

Available since: 0

Prerequisite

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

Functions

phosh_dbus_mount_operation_handler_interface_info

Gets a machine-readable description of the org.Gtk.MountOperationHandler D-Bus interface.

since: 0

phosh_dbus_mount_operation_handler_override_properties

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

since: 0

Instance methods

phosh_dbus_mount_operation_handler_call_ask_password

Asynchronously invokes the AskPassword() 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_mount_operation_handler_call_ask_password_finish() to get the result of the operation.

since: 0

phosh_dbus_mount_operation_handler_call_ask_password_finish

Finishes an operation started with phosh_dbus_mount_operation_handler_call_ask_password().

since: 0

phosh_dbus_mount_operation_handler_call_ask_password_sync

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

since: 0

phosh_dbus_mount_operation_handler_call_ask_question

Asynchronously invokes the AskQuestion() 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_mount_operation_handler_call_ask_question_finish() to get the result of the operation.

since: 0

phosh_dbus_mount_operation_handler_call_ask_question_finish

Finishes an operation started with phosh_dbus_mount_operation_handler_call_ask_question().

since: 0

phosh_dbus_mount_operation_handler_call_ask_question_sync

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

since: 0

phosh_dbus_mount_operation_handler_call_close

Asynchronously invokes the Close() 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_mount_operation_handler_call_close_finish() to get the result of the operation.

since: 0

phosh_dbus_mount_operation_handler_call_close_finish

Finishes an operation started with phosh_dbus_mount_operation_handler_call_close().

since: 0

phosh_dbus_mount_operation_handler_call_close_sync

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

since: 0

phosh_dbus_mount_operation_handler_call_show_processes

Asynchronously invokes the ShowProcesses() 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_mount_operation_handler_call_show_processes_finish() to get the result of the operation.

since: 0

phosh_dbus_mount_operation_handler_call_show_processes_finish

Finishes an operation started with phosh_dbus_mount_operation_handler_call_show_processes().

since: 0

phosh_dbus_mount_operation_handler_call_show_processes_sync

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

since: 0

phosh_dbus_mount_operation_handler_complete_ask_password

Helper function used in service implementations to finish handling invocations of the AskPassword() 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

phosh_dbus_mount_operation_handler_complete_ask_question

Helper function used in service implementations to finish handling invocations of the AskQuestion() 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

phosh_dbus_mount_operation_handler_complete_close

Helper function used in service implementations to finish handling invocations of the Close() 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

phosh_dbus_mount_operation_handler_complete_show_processes

Helper function used in service implementations to finish handling invocations of the ShowProcesses() 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.DBusMountOperationHandler::handle-ask-password

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

since: 0

Phosh.DBusMountOperationHandler::handle-ask-question

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

since: 0

Phosh.DBusMountOperationHandler::handle-close

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

since: 0

Phosh.DBusMountOperationHandler::handle-show-processes

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

since: 0

Interface structure

struct PhoshDBusMountOperationHandlerIface {
  GTypeInterface parent_iface;
  gboolean (* handle_ask_password) (
    PhoshDBusMountOperationHandler* object,
    GDBusMethodInvocation* invocation,
    const gchar* arg_object_id,
    const gchar* arg_message,
    const gchar* arg_icon_name,
    const gchar* arg_default_user,
    const gchar* arg_default_domain,
    guint arg_flags
  );
  gboolean (* handle_ask_question) (
    PhoshDBusMountOperationHandler* object,
    GDBusMethodInvocation* invocation,
    const gchar* arg_object_id,
    const gchar* arg_message,
    const gchar* arg_icon_name,
    const gchar* const* arg_choices
  );
  gboolean (* handle_close) (
    PhoshDBusMountOperationHandler* object,
    GDBusMethodInvocation* invocation
  );
  gboolean (* handle_show_processes) (
    PhoshDBusMountOperationHandler* object,
    GDBusMethodInvocation* invocation,
    const gchar* arg_object_id,
    const gchar* arg_message,
    const gchar* arg_icon_name,
    GVariant* arg_application_pids,
    const gchar* const* arg_choices
  );
  
}

Virtual table for the D-Bus interface org.Gtk.MountOperationHandler.

Interface members
parent_iface
GTypeInterface
 

The parent interface.

handle_ask_password
gboolean (* handle_ask_password) (
    PhoshDBusMountOperationHandler* object,
    GDBusMethodInvocation* invocation,
    const gchar* arg_object_id,
    const gchar* arg_message,
    const gchar* arg_icon_name,
    const gchar* arg_default_user,
    const gchar* arg_default_domain,
    guint arg_flags
  )
 No description available.
handle_ask_question
gboolean (* handle_ask_question) (
    PhoshDBusMountOperationHandler* object,
    GDBusMethodInvocation* invocation,
    const gchar* arg_object_id,
    const gchar* arg_message,
    const gchar* arg_icon_name,
    const gchar* const* arg_choices
  )
 No description available.
handle_close
gboolean (* handle_close) (
    PhoshDBusMountOperationHandler* object,
    GDBusMethodInvocation* invocation
  )
 No description available.
handle_show_processes
gboolean (* handle_show_processes) (
    PhoshDBusMountOperationHandler* object,
    GDBusMethodInvocation* invocation,
    const gchar* arg_object_id,
    const gchar* arg_message,
    const gchar* arg_icon_name,
    GVariant* arg_application_pids,
    const gchar* const* arg_choices
  )
 No description available.

Virtual methods

Phosh.DBusMountOperationHandler.handle_ask_password
No description available.

since: 0

Phosh.DBusMountOperationHandler.handle_ask_question
No description available.

since: 0

Phosh.DBusMountOperationHandler.handle_close
No description available.

since: 0

Phosh.DBusMountOperationHandler.handle_show_processes
No description available.

since: 0