Gdm.WorkerManager

g GObject.GInterface GObject.GInterface Gdm.WorkerManager Gdm.WorkerManager GObject.GInterface->Gdm.WorkerManager

Implementations:

Gdm.WorkerManagerProxy, Gdm.WorkerManagerSkeleton

Methods

class

interface_info ()

class

override_properties (klass, property_id_begin)

call_choice_list_query (arg_service_name, arg_prompt_message, arg_query, cancellable, callback, *user_data)

call_choice_list_query_finish (res)

call_choice_list_query_sync (arg_service_name, arg_prompt_message, arg_query, cancellable)

call_custom_json_request (arg_service_name, arg_protocol, arg_version, arg_request, cancellable, callback, *user_data)

call_custom_json_request_finish (res)

call_custom_json_request_sync (arg_service_name, arg_protocol, arg_version, arg_request, cancellable)

call_hello (cancellable, callback, *user_data)

call_hello_finish (res)

call_hello_sync (cancellable)

call_info (arg_service_name, arg_info, cancellable, callback, *user_data)

call_info_finish (res)

call_info_query (arg_service_name, arg_query, cancellable, callback, *user_data)

call_info_query_finish (res)

call_info_query_sync (arg_service_name, arg_query, cancellable)

call_info_sync (arg_service_name, arg_info, cancellable)

call_problem (arg_service_name, arg_problem, cancellable, callback, *user_data)

call_problem_finish (res)

call_problem_sync (arg_service_name, arg_problem, cancellable)

call_secret_info_query (arg_service_name, arg_query, cancellable, callback, *user_data)

call_secret_info_query_finish (res)

call_secret_info_query_sync (arg_service_name, arg_query, cancellable)

complete_choice_list_query (invocation, answer)

complete_custom_json_request (invocation, response)

complete_hello (invocation)

complete_info (invocation)

complete_info_query (invocation, answer)

complete_problem (invocation)

complete_secret_info_query (invocation, answer)

Virtual Methods

do_handle_choice_list_query (invocation, arg_service_name, arg_prompt_message, arg_query)

do_handle_custom_json_request (invocation, arg_service_name, arg_protocol, arg_version, arg_request)

do_handle_hello (invocation)

do_handle_info (invocation, arg_service_name, arg_info)

do_handle_info_query (invocation, arg_service_name, arg_query)

do_handle_problem (invocation, arg_service_name, arg_problem)

do_handle_secret_info_query (invocation, arg_service_name, arg_query)

Properties

None

Signals

Name

Short Description

handle-choice-list-query

Signal emitted when a remote caller is invoking the ‘ChoiceListQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.ChoiceListQuery]’ D-Bus method.

handle-custom-json-request

Signal emitted when a remote caller is invoking the ‘CustomJSONRequest() [gdbus-method-org-gnome-DisplayManager-WorkerManager.CustomJSONRequest]’ D-Bus method.

handle-hello

Signal emitted when a remote caller is invoking the ‘Hello() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Hello]’ D-Bus method.

handle-info

Signal emitted when a remote caller is invoking the ‘Info() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Info]’ D-Bus method.

handle-info-query

Signal emitted when a remote caller is invoking the ‘InfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.InfoQuery]’ D-Bus method.

handle-problem

Signal emitted when a remote caller is invoking the ‘Problem() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Problem]’ D-Bus method.

handle-secret-info-query

Signal emitted when a remote caller is invoking the ‘SecretInfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.SecretInfoQuery]’ D-Bus method.

Fields

None

Class Details

class Gdm.WorkerManager
Bases:

GObject.GInterface

Structure:

Gdm.WorkerManagerIface

Abstract interface type for the D-Bus interface ‘org.gnome.DisplayManager.WorkerManager [gdbus-interface-org-gnome-DisplayManager-WorkerManager.top_of_page]’.

classmethod interface_info()
Returns:

A Gio.DBusInterfaceInfo. Do not free.

Return type:

Gio.DBusInterfaceInfo

Gets a machine-readable description of the ‘org.gnome.DisplayManager.WorkerManager [gdbus-interface-org-gnome-DisplayManager-WorkerManager.top_of_page]’ D-Bus interface.

classmethod override_properties(klass, property_id_begin)
Parameters:
Returns:

The last property id.

Return type:

int

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

call_choice_list_query(arg_service_name, arg_prompt_message, arg_query, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘ChoiceListQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.ChoiceListQuery]’ D-Bus method on self. 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 GLib.MainContext.push_thread_default()). You can then call Gdm.WorkerManager.call_choice_list_query_finish() to get the result of the operation.

See Gdm.WorkerManager.call_choice_list_query_sync() for the synchronous, blocking version of this method.

call_choice_list_query_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.WorkerManager.call_choice_list_query().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_answer:

Return location for return parameter or None to ignore.

Return type:

(bool, out_answer: str)

Finishes an operation started with Gdm.WorkerManager.call_choice_list_query().

call_choice_list_query_sync(arg_service_name, arg_prompt_message, arg_query, cancellable)
Parameters:
  • arg_service_name (str) – Argument to pass with the method invocation.

  • arg_prompt_message (str) – Argument to pass with the method invocation.

  • arg_query (GLib.Variant) – Argument to pass with the method invocation.

  • cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_answer:

Return location for return parameter or None to ignore.

Return type:

(bool, out_answer: str)

Synchronously invokes the ‘ChoiceListQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.ChoiceListQuery]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See Gdm.WorkerManager.call_choice_list_query() for the asynchronous version of this method.

call_custom_json_request(arg_service_name, arg_protocol, arg_version, arg_request, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘CustomJSONRequest() [gdbus-method-org-gnome-DisplayManager-WorkerManager.CustomJSONRequest]’ D-Bus method on self. 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 GLib.MainContext.push_thread_default()). You can then call Gdm.WorkerManager.call_custom_json_request_finish() to get the result of the operation.

See Gdm.WorkerManager.call_custom_json_request_sync() for the synchronous, blocking version of this method.

call_custom_json_request_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.WorkerManager.call_custom_json_request().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_response:

Return location for return parameter or None to ignore.

Return type:

(bool, out_response: str)

Finishes an operation started with Gdm.WorkerManager.call_custom_json_request().

call_custom_json_request_sync(arg_service_name, arg_protocol, arg_version, arg_request, cancellable)
Parameters:
  • arg_service_name (str) – Argument to pass with the method invocation.

  • arg_protocol (str) – Argument to pass with the method invocation.

  • arg_version (int) – Argument to pass with the method invocation.

  • arg_request (str) – Argument to pass with the method invocation.

  • cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_response:

Return location for return parameter or None to ignore.

Return type:

(bool, out_response: str)

Synchronously invokes the ‘CustomJSONRequest() [gdbus-method-org-gnome-DisplayManager-WorkerManager.CustomJSONRequest]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See Gdm.WorkerManager.call_custom_json_request() for the asynchronous version of this method.

call_hello(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘Hello() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Hello]’ D-Bus method on self. 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 GLib.MainContext.push_thread_default()). You can then call Gdm.WorkerManager.call_hello_finish() to get the result of the operation.

See Gdm.WorkerManager.call_hello_sync() for the synchronous, blocking version of this method.

call_hello_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.WorkerManager.call_hello().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with Gdm.WorkerManager.call_hello().

call_hello_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘Hello() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Hello]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See Gdm.WorkerManager.call_hello() for the asynchronous version of this method.

call_info(arg_service_name, arg_info, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘Info() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Info]’ D-Bus method on self. 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 GLib.MainContext.push_thread_default()). You can then call Gdm.WorkerManager.call_info_finish() to get the result of the operation.

See Gdm.WorkerManager.call_info_sync() for the synchronous, blocking version of this method.

call_info_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.WorkerManager.call_info().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with Gdm.WorkerManager.call_info().

call_info_query(arg_service_name, arg_query, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘InfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.InfoQuery]’ D-Bus method on self. 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 GLib.MainContext.push_thread_default()). You can then call Gdm.WorkerManager.call_info_query_finish() to get the result of the operation.

See Gdm.WorkerManager.call_info_query_sync() for the synchronous, blocking version of this method.

call_info_query_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.WorkerManager.call_info_query().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_answer:

Return location for return parameter or None to ignore.

Return type:

(bool, out_answer: str)

Finishes an operation started with Gdm.WorkerManager.call_info_query().

call_info_query_sync(arg_service_name, arg_query, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_answer:

Return location for return parameter or None to ignore.

Return type:

(bool, out_answer: str)

Synchronously invokes the ‘InfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.InfoQuery]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See Gdm.WorkerManager.call_info_query() for the asynchronous version of this method.

call_info_sync(arg_service_name, arg_info, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘Info() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Info]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See Gdm.WorkerManager.call_info() for the asynchronous version of this method.

call_problem(arg_service_name, arg_problem, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘Problem() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Problem]’ D-Bus method on self. 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 GLib.MainContext.push_thread_default()). You can then call Gdm.WorkerManager.call_problem_finish() to get the result of the operation.

See Gdm.WorkerManager.call_problem_sync() for the synchronous, blocking version of this method.

call_problem_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.WorkerManager.call_problem().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with Gdm.WorkerManager.call_problem().

call_problem_sync(arg_service_name, arg_problem, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘Problem() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Problem]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See Gdm.WorkerManager.call_problem() for the asynchronous version of this method.

call_secret_info_query(arg_service_name, arg_query, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘SecretInfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.SecretInfoQuery]’ D-Bus method on self. 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 GLib.MainContext.push_thread_default()). You can then call Gdm.WorkerManager.call_secret_info_query_finish() to get the result of the operation.

See Gdm.WorkerManager.call_secret_info_query_sync() for the synchronous, blocking version of this method.

call_secret_info_query_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.WorkerManager.call_secret_info_query().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_answer:

Return location for return parameter or None to ignore.

Return type:

(bool, out_answer: str)

Finishes an operation started with Gdm.WorkerManager.call_secret_info_query().

call_secret_info_query_sync(arg_service_name, arg_query, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_answer:

Return location for return parameter or None to ignore.

Return type:

(bool, out_answer: str)

Synchronously invokes the ‘SecretInfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.SecretInfoQuery]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See Gdm.WorkerManager.call_secret_info_query() for the asynchronous version of this method.

complete_choice_list_query(invocation, answer)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘ChoiceListQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.ChoiceListQuery]’ 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.

This method will free invocation, you cannot use it afterwards.

complete_custom_json_request(invocation, response)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘CustomJSONRequest() [gdbus-method-org-gnome-DisplayManager-WorkerManager.CustomJSONRequest]’ 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.

This method will free invocation, you cannot use it afterwards.

complete_hello(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘Hello() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Hello]’ 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.

This method will free invocation, you cannot use it afterwards.

complete_info(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘Info() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Info]’ 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.

This method will free invocation, you cannot use it afterwards.

complete_info_query(invocation, answer)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘InfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.InfoQuery]’ 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.

This method will free invocation, you cannot use it afterwards.

complete_problem(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘Problem() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Problem]’ 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.

This method will free invocation, you cannot use it afterwards.

complete_secret_info_query(invocation, answer)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘SecretInfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.SecretInfoQuery]’ 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.

This method will free invocation, you cannot use it afterwards.

do_handle_choice_list_query(invocation, arg_service_name, arg_prompt_message, arg_query) virtual
Parameters:
Return type:

bool

Handler for the Gdm.WorkerManager ::handle-choice-list-query signal.

do_handle_custom_json_request(invocation, arg_service_name, arg_protocol, arg_version, arg_request) virtual
Parameters:
Return type:

bool

Handler for the Gdm.WorkerManager ::handle-custom-json-request signal.

do_handle_hello(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

Handler for the Gdm.WorkerManager ::handle-hello signal.

do_handle_info(invocation, arg_service_name, arg_info) virtual
Parameters:
Return type:

bool

Handler for the Gdm.WorkerManager ::handle-info signal.

do_handle_info_query(invocation, arg_service_name, arg_query) virtual
Parameters:
Return type:

bool

Handler for the Gdm.WorkerManager ::handle-info-query signal.

do_handle_problem(invocation, arg_service_name, arg_problem) virtual
Parameters:
Return type:

bool

Handler for the Gdm.WorkerManager ::handle-problem signal.

do_handle_secret_info_query(invocation, arg_service_name, arg_query) virtual
Parameters:
Return type:

bool

Handler for the Gdm.WorkerManager ::handle-secret-info-query signal.

Signal Details

Gdm.WorkerManager.signals.handle_choice_list_query(worker_manager, invocation, arg_service_name, arg_prompt_message, arg_query)
Signal Name:

handle-choice-list-query

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘ChoiceListQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.ChoiceListQuery]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call Gdm.WorkerManager.complete_choice_list_query() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.WorkerManager.signals.handle_custom_json_request(worker_manager, invocation, arg_service_name, arg_protocol, arg_version, arg_request)
Signal Name:

handle-custom-json-request

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘CustomJSONRequest() [gdbus-method-org-gnome-DisplayManager-WorkerManager.CustomJSONRequest]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call Gdm.WorkerManager.complete_custom_json_request() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.WorkerManager.signals.handle_hello(worker_manager, invocation)
Signal Name:

handle-hello

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘Hello() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Hello]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call Gdm.WorkerManager.complete_hello() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.WorkerManager.signals.handle_info(worker_manager, invocation, arg_service_name, arg_info)
Signal Name:

handle-info

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘Info() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Info]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call Gdm.WorkerManager.complete_info() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.WorkerManager.signals.handle_info_query(worker_manager, invocation, arg_service_name, arg_query)
Signal Name:

handle-info-query

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘InfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.InfoQuery]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call Gdm.WorkerManager.complete_info_query() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.WorkerManager.signals.handle_problem(worker_manager, invocation, arg_service_name, arg_problem)
Signal Name:

handle-problem

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘Problem() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Problem]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call Gdm.WorkerManager.complete_problem() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.WorkerManager.signals.handle_secret_info_query(worker_manager, invocation, arg_service_name, arg_query)
Signal Name:

handle-secret-info-query

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘SecretInfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.SecretInfoQuery]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call Gdm.WorkerManager.complete_secret_info_query() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.