Gdm.Greeter

g GObject.GInterface GObject.GInterface Gdm.Greeter Gdm.Greeter GObject.GInterface->Gdm.Greeter

Implementations:

Gdm.GreeterProxy, Gdm.GreeterSkeleton

Methods

class

interface_info ()

class

override_properties (klass, property_id_begin)

call_begin_auto_login (arg_username, cancellable, callback, *user_data)

call_begin_auto_login_finish (res)

call_begin_auto_login_sync (arg_username, cancellable)

call_get_timed_login_details (cancellable, callback, *user_data)

call_get_timed_login_details_finish (res)

call_get_timed_login_details_sync (cancellable)

call_select_session (arg_session, cancellable, callback, *user_data)

call_select_session_finish (res)

call_select_session_sync (arg_session, cancellable)

call_select_user (arg_username, cancellable, callback, *user_data)

call_select_user_finish (res)

call_select_user_sync (arg_username, cancellable)

call_start_session_when_ready (arg_service_name, arg_should_start_session, cancellable, callback, *user_data)

call_start_session_when_ready_finish (res)

call_start_session_when_ready_sync (arg_service_name, arg_should_start_session, cancellable)

call_stop_conflicting_session (cancellable, callback, *user_data)

call_stop_conflicting_session_finish (res)

call_stop_conflicting_session_sync (cancellable)

complete_begin_auto_login (invocation)

complete_get_timed_login_details (invocation, enabled, username, delay)

complete_select_session (invocation)

complete_select_user (invocation)

complete_start_session_when_ready (invocation)

complete_stop_conflicting_session (invocation)

emit_default_language_name_changed (arg_language_name)

emit_default_session_name_changed (arg_session_name)

emit_reauthenticated (arg_service_name)

emit_selected_user_changed (arg_username)

emit_session_opened (arg_service_name, arg_session_id)

emit_timed_login_requested (arg_username, arg_delay)

Virtual Methods

do_default_language_name_changed (arg_language_name)

do_default_session_name_changed (arg_session_name)

do_handle_begin_auto_login (invocation, arg_username)

do_handle_get_timed_login_details (invocation)

do_handle_select_session (invocation, arg_session)

do_handle_select_user (invocation, arg_username)

do_handle_start_session_when_ready (invocation, arg_service_name, arg_should_start_session)

do_handle_stop_conflicting_session (invocation)

do_reauthenticated (arg_service_name)

do_selected_user_changed (arg_username)

do_session_opened (arg_service_name, arg_session_id)

do_timed_login_requested (arg_username, arg_delay)

Properties

None

Signals

Name

Short Description

default-language-name-changed

On the client-side, this signal is emitted whenever the D-Bus signal ‘“DefaultLanguageNameChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.DefaultLanguageNameChanged]’ is received.

default-session-name-changed

On the client-side, this signal is emitted whenever the D-Bus signal ‘“DefaultSessionNameChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.DefaultSessionNameChanged]’ is received.

handle-begin-auto-login

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

handle-get-timed-login-details

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

handle-select-session

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

handle-select-user

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

handle-start-session-when-ready

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

handle-stop-conflicting-session

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

reauthenticated

On the client-side, this signal is emitted whenever the D-Bus signal ‘“Reauthenticated” [gdbus-signal-org-gnome-DisplayManager-Greeter.Reauthenticated]’ is received.

selected-user-changed

On the client-side, this signal is emitted whenever the D-Bus signal ‘“SelectedUserChanged” [gdbus-signal-org-gnome-DisplayManager-Greeter.SelectedUserChanged]’ is received.

session-opened

On the client-side, this signal is emitted whenever the D-Bus signal ‘“SessionOpened” [gdbus-signal-org-gnome-DisplayManager-Greeter.SessionOpened]’ is received.

timed-login-requested

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:

GObject.GInterface

Structure:

Gdm.GreeterIface

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:

Gio.DBusInterfaceInfo

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:
Returns:

The last property id.

Return type:

int

Overrides all GObject.Object properties in the Gdm.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:

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 call Gdm.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.Greeter.call_begin_auto_login().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with Gdm.Greeter.call_begin_auto_login().

call_begin_auto_login_sync(arg_username, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

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

Return type:

bool

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:

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 call Gdm.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.Greeter.call_get_timed_login_details().

Raises:

GLib.Error

Returns:

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

out_enabled:

Return location for return parameter or None to ignore.

out_username:

Return location for return parameter or None to ignore.

out_delay:

Return location for return parameter or None to ignore.

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 or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

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

out_enabled:

Return location for return parameter or None to ignore.

out_username:

Return location for return parameter or None to ignore.

out_delay:

Return location for return parameter or None to ignore.

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:

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 call Gdm.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.Greeter.call_select_session().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with Gdm.Greeter.call_select_session().

call_select_session_sync(arg_session, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

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

Return type:

bool

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:

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 call Gdm.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.Greeter.call_select_user().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with Gdm.Greeter.call_select_user().

call_select_user_sync(arg_username, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

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

Return type:

bool

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:

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 call Gdm.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.Greeter.call_start_session_when_ready().

Raises:

GLib.Error

Returns:

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

Return type:

bool

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:
Raises:

GLib.Error

Returns:

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

Return type:

bool

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:

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 call Gdm.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gdm.Greeter.call_stop_conflicting_session().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with Gdm.Greeter.call_stop_conflicting_session().

call_stop_conflicting_session_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 ‘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) – A Gio.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:

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) – A Gio.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) – A Gio.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) – A Gio.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) – A Gio.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:
  • arg_service_name (str) – Argument to pass with the signal.

  • arg_session_id (str) – Argument to pass with the signal.

Emits the ‘“SessionOpened” [gdbus-signal-org-gnome-DisplayManager-Greeter.SessionOpened]’ D-Bus signal.

emit_timed_login_requested(arg_username, arg_delay)
Parameters:
  • arg_username (str) – Argument to pass with the signal.

  • arg_delay (int) – Argument to pass with the signal.

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:
Return type:

bool

Handler for the Gdm.Greeter ::handle-begin-auto-login signal.

do_handle_get_timed_login_details(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

Handler for the Gdm.Greeter ::handle-get-timed-login-details signal.

do_handle_select_session(invocation, arg_session) virtual
Parameters:
Return type:

bool

Handler for the Gdm.Greeter ::handle-select-session signal.

do_handle_select_user(invocation, arg_username) virtual
Parameters:
Return type:

bool

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:
Return type:

bool

Handler for the Gdm.Greeter ::handle-start-session-when-ready signal.

do_handle_stop_conflicting_session(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

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
Parameters:
  • arg_service_name (str) –

  • arg_session_id (str) –

Handler for the Gdm.Greeter ::session-opened signal.

do_timed_login_requested(arg_username, arg_delay) virtual
Parameters:
  • arg_username (str) –

  • arg_delay (int) –

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:

RUN_LAST

Parameters:
  • greeter (Gdm.Greeter) – The object which received the signal

  • arg_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:

RUN_LAST

Parameters:
  • greeter (Gdm.Greeter) – The object which received the signal

  • arg_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:

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 ‘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 call Gdm.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.Greeter.signals.handle_get_timed_login_details(greeter, invocation)
Signal Name:

handle-get-timed-login-details

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 ‘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 call Gdm.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.Greeter.signals.handle_select_session(greeter, invocation, arg_session)
Signal Name:

handle-select-session

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 ‘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 call Gdm.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.Greeter.signals.handle_select_user(greeter, invocation, arg_username)
Signal Name:

handle-select-user

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 ‘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 call Gdm.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, the Gio.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:

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 ‘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 call Gdm.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.Greeter.signals.handle_stop_conflicting_session(greeter, invocation)
Signal Name:

handle-stop-conflicting-session

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 ‘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 call Gdm.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Gdm.Greeter.signals.reauthenticated(greeter, arg_service_name)
Signal Name:

reauthenticated

Flags:

RUN_LAST

Parameters:
  • greeter (Gdm.Greeter) – The object which received the signal

  • arg_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:

RUN_LAST

Parameters:
  • greeter (Gdm.Greeter) – The object which received the signal

  • arg_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:

RUN_LAST

Parameters:
  • greeter (Gdm.Greeter) – The object which received the signal

  • arg_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:

RUN_LAST

Parameters:
  • greeter (Gdm.Greeter) – The object which received the signal

  • arg_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.