Interface
PhoshDBusMountOperationHandler
Description [src]
interface Phosh.DBusMountOperationHandler : GObject.Object
Abstract interface type for the D-Bus interface org.Gtk.MountOperationHandler.
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.
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.
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.
phosh_dbus_mount_operation_handler_call_ask_password_finish
Finishes an operation started with phosh_dbus_mount_operation_handler_call_ask_password().
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.
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.
phosh_dbus_mount_operation_handler_call_ask_question_finish
Finishes an operation started with phosh_dbus_mount_operation_handler_call_ask_question().
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.
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.
phosh_dbus_mount_operation_handler_call_close_finish
Finishes an operation started with phosh_dbus_mount_operation_handler_call_close().
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.
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.
phosh_dbus_mount_operation_handler_call_show_processes_finish
Finishes an operation started with phosh_dbus_mount_operation_handler_call_show_processes().
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.
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.
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.
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.
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.
Signals
Phosh.DBusMountOperationHandler::handle-ask-password
Signal emitted when a remote caller is invoking the AskPassword() D-Bus method.
Phosh.DBusMountOperationHandler::handle-ask-question
Signal emitted when a remote caller is invoking the AskQuestion() D-Bus method.
Phosh.DBusMountOperationHandler::handle-close
Signal emitted when a remote caller is invoking the Close() D-Bus method.
Phosh.DBusMountOperationHandler::handle-show-processes
Signal emitted when a remote caller is invoking the ShowProcesses() D-Bus method.
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 |
|
The parent interface. |
|
handle_ask_password |
|
Handler for the |
|
handle_ask_question |
|
Handler for the |
|
handle_close |
|
Handler for the |
|
handle_show_processes |
|
Handler for the |
Virtual methods
Phosh.DBusMountOperationHandler.handle_ask_password
Handler for the PhoshDBusMountOperationHandler::handle-ask-password
signal.
Phosh.DBusMountOperationHandler.handle_ask_question
Handler for the PhoshDBusMountOperationHandler::handle-ask-question
signal.
Phosh.DBusMountOperationHandler.handle_close
Handler for the PhoshDBusMountOperationHandler::handle-close
signal.
Phosh.DBusMountOperationHandler.handle_show_processes
Handler for the PhoshDBusMountOperationHandler::handle-show-processes
signal.