Gdm.Greeter¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
None
Signals¶
Name |
Short Description |
---|---|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“DefaultLanguageNameChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.DefaultLanguageNameChanged]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“DefaultSessionNameChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.DefaultSessionNameChanged]’ is received. |
|
Signal emitted when a remote caller is invoking the ‘BeginAutoLogin() [gdbus-method-org-gnome-DisplayManager-Greeter.BeginAutoLogin]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘GetTimedLoginDetails() [gdbus-method-org-gnome-DisplayManager-Greeter.GetTimedLoginDetails]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘SelectSession() [gdbus-method-org-gnome-DisplayManager-Greeter.SelectSession]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘SelectUser() [gdbus-method-org-gnome-DisplayManager-Greeter.SelectUser]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘StartSessionWhenReady() [gdbus-method-org-gnome-DisplayManager-Greeter.StartSessionWhenReady]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘StopConflictingSession() [gdbus-method-org-gnome-DisplayManager-Greeter.StopConflictingSession]’ D-Bus method. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Reauthenticated” [gdbus-signal-org-gnome-DisplayManager-Greeter.Reauthenticated]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“SelectedUserChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.SelectedUserChanged]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“SessionOpened” [gdbus-signal-org-gnome-DisplayManager-Greeter.SessionOpened]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“TimedLoginRequested” [gdbus-signal-org-gnome-DisplayManager-Greeter.TimedLoginRequested]’ is received. |
Fields¶
None
Class Details¶
- class Gdm.Greeter¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface ‘org.gnome.DisplayManager.Greeter [gdbus-interface-org-gnome-DisplayManager-Greeter.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.Greeter [gdbus-interface-org-gnome-DisplayManager-Greeter.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.Greeter
interface for a concrete class. The properties are overridden in the order they are defined.
- call_begin_auto_login(arg_username, cancellable, callback, *user_data)¶
- Parameters:
arg_username (
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 ‘BeginAutoLogin() [gdbus-method-org-gnome-DisplayManager-Greeter.BeginAutoLogin]’ 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.Greeter.call_begin_auto_login_finish
() to get the result of the operation.See
Gdm.Greeter.call_begin_auto_login_sync
() for the synchronous, blocking version of this method.
- call_begin_auto_login_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.Greeter.call_begin_auto_login
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Greeter.call_begin_auto_login
().
- call_begin_auto_login_sync(arg_username, cancellable)¶
- Parameters:
arg_username (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘BeginAutoLogin() [gdbus-method-org-gnome-DisplayManager-Greeter.BeginAutoLogin]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.Greeter.call_begin_auto_login
() for the asynchronous version of this method.
- call_get_timed_login_details(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 ‘GetTimedLoginDetails() [gdbus-method-org-gnome-DisplayManager-Greeter.GetTimedLoginDetails]’ 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.Greeter.call_get_timed_login_details_finish
() to get the result of the operation.See
Gdm.Greeter.call_get_timed_login_details_sync
() for the synchronous, blocking version of this method.
- call_get_timed_login_details_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.Greeter.call_get_timed_login_details
().- Raises:
- Returns:
- Return type:
(
bool
, out_enabled:bool
, out_username:str
, out_delay:int
)
Finishes an operation started with
Gdm.Greeter.call_get_timed_login_details
().
- call_get_timed_login_details_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
- Return type:
(
bool
, out_enabled:bool
, out_username:str
, out_delay:int
)
Synchronously invokes the ‘GetTimedLoginDetails() [gdbus-method-org-gnome-DisplayManager-Greeter.GetTimedLoginDetails]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.Greeter.call_get_timed_login_details
() for the asynchronous version of this method.
- call_select_session(arg_session, cancellable, callback, *user_data)¶
- Parameters:
arg_session (
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 ‘SelectSession() [gdbus-method-org-gnome-DisplayManager-Greeter.SelectSession]’ 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.Greeter.call_select_session_finish
() to get the result of the operation.See
Gdm.Greeter.call_select_session_sync
() for the synchronous, blocking version of this method.
- call_select_session_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.Greeter.call_select_session
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Greeter.call_select_session
().
- call_select_session_sync(arg_session, cancellable)¶
- Parameters:
arg_session (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘SelectSession() [gdbus-method-org-gnome-DisplayManager-Greeter.SelectSession]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.Greeter.call_select_session
() for the asynchronous version of this method.
- call_select_user(arg_username, cancellable, callback, *user_data)¶
- Parameters:
arg_username (
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 ‘SelectUser() [gdbus-method-org-gnome-DisplayManager-Greeter.SelectUser]’ 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.Greeter.call_select_user_finish
() to get the result of the operation.See
Gdm.Greeter.call_select_user_sync
() for the synchronous, blocking version of this method.
- call_select_user_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.Greeter.call_select_user
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Greeter.call_select_user
().
- call_select_user_sync(arg_username, cancellable)¶
- Parameters:
arg_username (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘SelectUser() [gdbus-method-org-gnome-DisplayManager-Greeter.SelectUser]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.Greeter.call_select_user
() for the asynchronous version of this method.
- call_start_session_when_ready(arg_service_name, arg_should_start_session, cancellable, callback, *user_data)¶
- Parameters:
arg_service_name (
str
) – Argument to pass with the method invocation.arg_should_start_session (
bool
) – 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 ‘StartSessionWhenReady() [gdbus-method-org-gnome-DisplayManager-Greeter.StartSessionWhenReady]’ 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.Greeter.call_start_session_when_ready_finish
() to get the result of the operation.See
Gdm.Greeter.call_start_session_when_ready_sync
() for the synchronous, blocking version of this method.
- call_start_session_when_ready_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.Greeter.call_start_session_when_ready
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Greeter.call_start_session_when_ready
().
- call_start_session_when_ready_sync(arg_service_name, arg_should_start_session, cancellable)¶
- Parameters:
arg_service_name (
str
) – Argument to pass with the method invocation.arg_should_start_session (
bool
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘StartSessionWhenReady() [gdbus-method-org-gnome-DisplayManager-Greeter.StartSessionWhenReady]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.Greeter.call_start_session_when_ready
() for the asynchronous version of this method.
- call_stop_conflicting_session(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 ‘StopConflictingSession() [gdbus-method-org-gnome-DisplayManager-Greeter.StopConflictingSession]’ 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.Greeter.call_stop_conflicting_session_finish
() to get the result of the operation.See
Gdm.Greeter.call_stop_conflicting_session_sync
() for the synchronous, blocking version of this method.
- call_stop_conflicting_session_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGdm.Greeter.call_stop_conflicting_session
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Greeter.call_stop_conflicting_session
().
- call_stop_conflicting_session_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘StopConflictingSession() [gdbus-method-org-gnome-DisplayManager-Greeter.StopConflictingSession]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.Greeter.call_stop_conflicting_session
() for the asynchronous version of this method.
- complete_begin_auto_login(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘BeginAutoLogin() [gdbus-method-org-gnome-DisplayManager-Greeter.BeginAutoLogin]’ 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_get_timed_login_details(invocation, enabled, username, delay)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.enabled (
bool
) – Parameter to return.username (
str
) – Parameter to return.delay (
int
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the ‘GetTimedLoginDetails() [gdbus-method-org-gnome-DisplayManager-Greeter.GetTimedLoginDetails]’ 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_select_session(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘SelectSession() [gdbus-method-org-gnome-DisplayManager-Greeter.SelectSession]’ 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_select_user(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘SelectUser() [gdbus-method-org-gnome-DisplayManager-Greeter.SelectUser]’ 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_start_session_when_ready(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘StartSessionWhenReady() [gdbus-method-org-gnome-DisplayManager-Greeter.StartSessionWhenReady]’ 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_stop_conflicting_session(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘StopConflictingSession() [gdbus-method-org-gnome-DisplayManager-Greeter.StopConflictingSession]’ 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.
- emit_default_language_name_changed(arg_language_name)¶
- Parameters:
arg_language_name (
str
) – Argument to pass with the signal.
Emits the ‘“DefaultLanguageNameChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.DefaultLanguageNameChanged]’ D-Bus signal.
- emit_default_session_name_changed(arg_session_name)¶
- Parameters:
arg_session_name (
str
) – Argument to pass with the signal.
Emits the ‘“DefaultSessionNameChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.DefaultSessionNameChanged]’ D-Bus signal.
- emit_reauthenticated(arg_service_name)¶
- Parameters:
arg_service_name (
str
) – Argument to pass with the signal.
Emits the ‘“Reauthenticated” [gdbus-signal-org-gnome-DisplayManager-Greeter.Reauthenticated]’ D-Bus signal.
- emit_selected_user_changed(arg_username)¶
- Parameters:
arg_username (
str
) – Argument to pass with the signal.
Emits the ‘“SelectedUserChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.SelectedUserChanged]’ D-Bus signal.
- emit_session_opened(arg_service_name, arg_session_id)¶
- Parameters:
Emits the ‘“SessionOpened” [gdbus-signal-org-gnome-DisplayManager-Greeter.SessionOpened]’ D-Bus signal.
- emit_timed_login_requested(arg_username, arg_delay)¶
- Parameters:
Emits the ‘“TimedLoginRequested” [gdbus-signal-org-gnome-DisplayManager-Greeter.TimedLoginRequested]’ D-Bus signal.
- do_default_language_name_changed(arg_language_name) virtual¶
- Parameters:
arg_language_name (
str
) –
Handler for the
Gdm.Greeter
::default-language-name-changed
signal.
- do_default_session_name_changed(arg_session_name) virtual¶
- Parameters:
arg_session_name (
str
) –
Handler for the
Gdm.Greeter
::default-session-name-changed
signal.
- do_handle_begin_auto_login(invocation, arg_username) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_username (
str
) –
- Return type:
Handler for the
Gdm.Greeter
::handle-begin-auto-login
signal.
- do_handle_get_timed_login_details(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
Handler for the
Gdm.Greeter
::handle-get-timed-login-details
signal.
- do_handle_select_session(invocation, arg_session) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_session (
str
) –
- Return type:
Handler for the
Gdm.Greeter
::handle-select-session
signal.
- do_handle_select_user(invocation, arg_username) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_username (
str
) –
- Return type:
Handler for the
Gdm.Greeter
::handle-select-user
signal.
- do_handle_start_session_when_ready(invocation, arg_service_name, arg_should_start_session) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_service_name (
str
) –arg_should_start_session (
bool
) –
- Return type:
Handler for the
Gdm.Greeter
::handle-start-session-when-ready
signal.
- do_handle_stop_conflicting_session(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
Handler for the
Gdm.Greeter
::handle-stop-conflicting-session
signal.
- do_reauthenticated(arg_service_name) virtual¶
- Parameters:
arg_service_name (
str
) –
Handler for the
Gdm.Greeter
::reauthenticated
signal.
- do_selected_user_changed(arg_username) virtual¶
- Parameters:
arg_username (
str
) –
Handler for the
Gdm.Greeter
::selected-user-changed
signal.
- do_session_opened(arg_service_name, arg_session_id) virtual¶
-
Handler for the
Gdm.Greeter
::session-opened
signal.
- do_timed_login_requested(arg_username, arg_delay) virtual¶
-
Handler for the
Gdm.Greeter
::timed-login-requested
signal.
Signal Details¶
- Gdm.Greeter.signals.default_language_name_changed(greeter, arg_language_name)¶
- Signal Name:
default-language-name-changed
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – The object which received the signalarg_language_name (
str
) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“DefaultLanguageNameChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.DefaultLanguageNameChanged]’ is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- Gdm.Greeter.signals.default_session_name_changed(greeter, arg_session_name)¶
- Signal Name:
default-session-name-changed
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – The object which received the signalarg_session_name (
str
) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“DefaultSessionNameChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.DefaultSessionNameChanged]’ is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- Gdm.Greeter.signals.handle_begin_auto_login(greeter, invocation, arg_username)¶
- Signal Name:
handle-begin-auto-login
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_username (
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 ‘BeginAutoLogin() [gdbus-method-org-gnome-DisplayManager-Greeter.BeginAutoLogin]’ 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.Greeter.complete_begin_auto_login
() 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.Greeter.signals.handle_get_timed_login_details(greeter, invocation)¶
- Signal Name:
handle-get-timed-login-details
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – 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 ‘GetTimedLoginDetails() [gdbus-method-org-gnome-DisplayManager-Greeter.GetTimedLoginDetails]’ 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.Greeter.complete_get_timed_login_details
() 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.Greeter.signals.handle_select_session(greeter, invocation, arg_session)¶
- Signal Name:
handle-select-session
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_session (
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 ‘SelectSession() [gdbus-method-org-gnome-DisplayManager-Greeter.SelectSession]’ 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.Greeter.complete_select_session
() 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.Greeter.signals.handle_select_user(greeter, invocation, arg_username)¶
- Signal Name:
handle-select-user
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_username (
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 ‘SelectUser() [gdbus-method-org-gnome-DisplayManager-Greeter.SelectUser]’ 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.Greeter.complete_select_user
() 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.Greeter.signals.handle_start_session_when_ready(greeter, invocation, arg_service_name, arg_should_start_session)¶
- Signal Name:
handle-start-session-when-ready
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_service_name (
str
) – Argument passed by remote caller.arg_should_start_session (
bool
) – 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 ‘StartSessionWhenReady() [gdbus-method-org-gnome-DisplayManager-Greeter.StartSessionWhenReady]’ 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.Greeter.complete_start_session_when_ready
() 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.Greeter.signals.handle_stop_conflicting_session(greeter, invocation)¶
- Signal Name:
handle-stop-conflicting-session
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – 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 ‘StopConflictingSession() [gdbus-method-org-gnome-DisplayManager-Greeter.StopConflictingSession]’ 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.Greeter.complete_stop_conflicting_session
() 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.Greeter.signals.reauthenticated(greeter, arg_service_name)¶
- Signal Name:
reauthenticated
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – The object which received the signalarg_service_name (
str
) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Reauthenticated” [gdbus-signal-org-gnome-DisplayManager-Greeter.Reauthenticated]’ is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- Gdm.Greeter.signals.selected_user_changed(greeter, arg_username)¶
- Signal Name:
selected-user-changed
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – The object which received the signalarg_username (
str
) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“SelectedUserChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.SelectedUserChanged]’ is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- Gdm.Greeter.signals.session_opened(greeter, arg_service_name, arg_session_id)¶
- Signal Name:
session-opened
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – The object which received the signalarg_service_name (
str
) – Argument.arg_session_id (
str
) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“SessionOpened” [gdbus-signal-org-gnome-DisplayManager-Greeter.SessionOpened]’ is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- Gdm.Greeter.signals.timed_login_requested(greeter, arg_username, arg_delay)¶
- Signal Name:
timed-login-requested
- Flags:
- Parameters:
greeter (
Gdm.Greeter
) – The object which received the signalarg_username (
str
) – Argument.arg_delay (
int
) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“TimedLoginRequested” [gdbus-signal-org-gnome-DisplayManager-Greeter.TimedLoginRequested]’ is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.