Gdm.WorkerManager¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
None
Signals¶
Name |
Short Description |
---|---|
Signal emitted when a remote caller is invoking the ‘ChoiceListQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.ChoiceListQuery]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘CustomJSONRequest() [gdbus-method-org-gnome-DisplayManager-WorkerManager.CustomJSONRequest]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘Hello() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Hello]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘Info() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Info]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘InfoQuery() [gdbus-method-org-gnome-DisplayManager-WorkerManager.InfoQuery]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘Problem() [gdbus-method-org-gnome-DisplayManager-WorkerManager.Problem]’ D-Bus method. |
|
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:
- Structure:
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:
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:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theGdm.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:
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
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callGdm.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.WorkerManager.call_choice_list_query
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_answer:
Return location for return parameter or
None
to ignore.
- Return type:
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
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_answer:
Return location for return parameter or
None
to ignore.
- Return type:
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:
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
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callGdm.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.WorkerManager.call_custom_json_request
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_response:
Return location for return parameter or
None
to ignore.
- Return type:
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
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_response:
Return location for return parameter or
None
to ignore.
- Return type:
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:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callGdm.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.WorkerManager.call_hello
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.WorkerManager.call_hello
().
- call_hello_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
- Return type:
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:
arg_service_name (
str
) – Argument to pass with the method invocation.arg_info (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callGdm.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.WorkerManager.call_info
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.WorkerManager.call_info
().
- call_info_query(arg_service_name, arg_query, cancellable, callback, *user_data)¶
- Parameters:
arg_service_name (
str
) – Argument to pass with the method invocation.arg_query (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callGdm.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.WorkerManager.call_info_query
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_answer:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
Gdm.WorkerManager.call_info_query
().
- call_info_query_sync(arg_service_name, arg_query, cancellable)¶
- Parameters:
arg_service_name (
str
) – Argument to pass with the method invocation.arg_query (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_answer:
Return location for return parameter or
None
to ignore.
- Return type:
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:
arg_service_name (
str
) – Argument to pass with the method invocation.arg_info (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
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:
arg_service_name (
str
) – Argument to pass with the method invocation.arg_problem (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callGdm.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.WorkerManager.call_problem
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.WorkerManager.call_problem
().
- call_problem_sync(arg_service_name, arg_problem, cancellable)¶
- Parameters:
arg_service_name (
str
) – Argument to pass with the method invocation.arg_problem (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
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:
arg_service_name (
str
) – Argument to pass with the method invocation.arg_query (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callGdm.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.WorkerManager.call_secret_info_query
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_answer:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
Gdm.WorkerManager.call_secret_info_query
().
- call_secret_info_query_sync(arg_service_name, arg_query, cancellable)¶
- Parameters:
arg_service_name (
str
) – Argument to pass with the method invocation.arg_query (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_answer:
Return location for return parameter or
None
to ignore.
- Return type:
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:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.answer (
str
) – Parameter to return.
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:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.response (
str
) – Parameter to return.
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
) – AGio.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
) – AGio.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:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.answer (
str
) – Parameter to return.
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
) – AGio.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:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.answer (
str
) – Parameter to return.
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:
invocation (
Gio.DBusMethodInvocation
) –arg_service_name (
str
) –arg_prompt_message (
str
) –arg_query (
GLib.Variant
) –
- Return type:
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:
invocation (
Gio.DBusMethodInvocation
) –arg_service_name (
str
) –arg_protocol (
str
) –arg_version (
int
) –arg_request (
str
) –
- Return type:
Handler for the
Gdm.WorkerManager
::handle-custom-json-request
signal.
- do_handle_hello(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
Handler for the
Gdm.WorkerManager
::handle-hello
signal.
- do_handle_info(invocation, arg_service_name, arg_info) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_service_name (
str
) –arg_info (
str
) –
- Return type:
Handler for the
Gdm.WorkerManager
::handle-info
signal.
- do_handle_info_query(invocation, arg_service_name, arg_query) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_service_name (
str
) –arg_query (
str
) –
- Return type:
Handler for the
Gdm.WorkerManager
::handle-info-query
signal.
- do_handle_problem(invocation, arg_service_name, arg_problem) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_service_name (
str
) –arg_problem (
str
) –
- Return type:
Handler for the
Gdm.WorkerManager
::handle-problem
signal.
- do_handle_secret_info_query(invocation, arg_service_name, arg_query) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_service_name (
str
) –arg_query (
str
) –
- Return type:
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:
- Parameters:
worker_manager (
Gdm.WorkerManager
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_service_name (
str
) – Argument passed by remote caller.arg_prompt_message (
str
) – Argument passed by remote caller.arg_query (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
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 callGdm.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, theGio.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:
- Parameters:
worker_manager (
Gdm.WorkerManager
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_service_name (
str
) – Argument passed by remote caller.arg_protocol (
str
) – Argument passed by remote caller.arg_version (
int
) – Argument passed by remote caller.arg_request (
str
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
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 callGdm.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- Gdm.WorkerManager.signals.handle_hello(worker_manager, invocation)¶
- Signal Name:
handle-hello
- Flags:
- Parameters:
worker_manager (
Gdm.WorkerManager
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
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 callGdm.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- Gdm.WorkerManager.signals.handle_info(worker_manager, invocation, arg_service_name, arg_info)¶
- Signal Name:
handle-info
- Flags:
- Parameters:
worker_manager (
Gdm.WorkerManager
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_service_name (
str
) – Argument passed by remote caller.arg_info (
str
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
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 callGdm.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, theGio.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:
- Parameters:
worker_manager (
Gdm.WorkerManager
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_service_name (
str
) – Argument passed by remote caller.arg_query (
str
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
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 callGdm.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- Gdm.WorkerManager.signals.handle_problem(worker_manager, invocation, arg_service_name, arg_problem)¶
- Signal Name:
handle-problem
- Flags:
- Parameters:
worker_manager (
Gdm.WorkerManager
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_service_name (
str
) – Argument passed by remote caller.arg_problem (
str
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
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 callGdm.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, theGio.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:
- Parameters:
worker_manager (
Gdm.WorkerManager
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_service_name (
str
) – Argument passed by remote caller.arg_query (
str
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
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 callGdm.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.