Gdm.Manager¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
Version |
Signals¶
Name |
Short Description |
|---|---|
Signal emitted when a remote caller is invoking the ‘OpenReauthenticationChannel() [gdbus-method-org-gnome-DisplayManager-Manager.OpenReauthenticationChannel]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘OpenSession() [gdbus-method-org-gnome-DisplayManager-Manager.OpenSession]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘RegisterDisplay() [gdbus-method-org-gnome-DisplayManager-Manager.RegisterDisplay]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘RegisterSession() [gdbus-method-org-gnome-DisplayManager-Manager.RegisterSession]’ D-Bus method. |
Fields¶
None
Class Details¶
- class Gdm.Manager¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface ‘org.gnome.DisplayManager.Manager [gdbus-interface-org-gnome-DisplayManager-Manager.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.Manager [gdbus-interface-org-gnome-DisplayManager-Manager.top_of_page]’ D-Bus interface.
- classmethod override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass) – The class structure for aGObject.Objectderived 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.Objectproperties in theGdm.Managerinterface for a concrete class. The properties are overridden in the order they are defined.
- call_open_reauthentication_channel(arg_username, cancellable, callback, *user_data)¶
- Parameters:
arg_username (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘OpenReauthenticationChannel() [gdbus-method-org-gnome-DisplayManager-Manager.OpenReauthenticationChannel]’ 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.Manager.call_open_reauthentication_channel_finish() to get the result of the operation.See
Gdm.Manager.call_open_reauthentication_channel_sync() for the synchronous, blocking version of this method.
- call_open_reauthentication_channel_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGdm.Manager.call_open_reauthentication_channel().- Raises:
- Returns:
Trueif the call succeeded,Falseif error is set.- out_address:
Return location for return parameter or
Noneto ignore.
- Return type:
Finishes an operation started with
Gdm.Manager.call_open_reauthentication_channel().
- call_open_reauthentication_channel_sync(arg_username, cancellable)¶
- Parameters:
arg_username (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
Trueif the call succeeded,Falseif error is set.- out_address:
Return location for return parameter or
Noneto ignore.
- Return type:
Synchronously invokes the ‘OpenReauthenticationChannel() [gdbus-method-org-gnome-DisplayManager-Manager.OpenReauthenticationChannel]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.Manager.call_open_reauthentication_channel() for the asynchronous version of this method.
- call_open_session(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘OpenSession() [gdbus-method-org-gnome-DisplayManager-Manager.OpenSession]’ 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.Manager.call_open_session_finish() to get the result of the operation.See
Gdm.Manager.call_open_session_sync() for the synchronous, blocking version of this method.
- call_open_session_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGdm.Manager.call_open_session().- Raises:
- Returns:
Trueif the call succeeded,Falseif error is set.- out_address:
Return location for return parameter or
Noneto ignore.
- Return type:
Finishes an operation started with
Gdm.Manager.call_open_session().
- call_open_session_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
Trueif the call succeeded,Falseif error is set.- out_address:
Return location for return parameter or
Noneto ignore.
- Return type:
Synchronously invokes the ‘OpenSession() [gdbus-method-org-gnome-DisplayManager-Manager.OpenSession]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.Manager.call_open_session() for the asynchronous version of this method.
- call_register_display(arg_details, cancellable, callback, *user_data)¶
- Parameters:
arg_details (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘RegisterDisplay() [gdbus-method-org-gnome-DisplayManager-Manager.RegisterDisplay]’ 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.Manager.call_register_display_finish() to get the result of the operation.See
Gdm.Manager.call_register_display_sync() for the synchronous, blocking version of this method.
- call_register_display_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGdm.Manager.call_register_display().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Manager.call_register_display().
- call_register_display_sync(arg_details, cancellable)¶
- Parameters:
arg_details (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘RegisterDisplay() [gdbus-method-org-gnome-DisplayManager-Manager.RegisterDisplay]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.Manager.call_register_display() for the asynchronous version of this method.
- call_register_session(arg_details, cancellable, callback, *user_data)¶
- Parameters:
arg_details (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘RegisterSession() [gdbus-method-org-gnome-DisplayManager-Manager.RegisterSession]’ 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.Manager.call_register_session_finish() to get the result of the operation.See
Gdm.Manager.call_register_session_sync() for the synchronous, blocking version of this method.
- call_register_session_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGdm.Manager.call_register_session().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Gdm.Manager.call_register_session().
- call_register_session_sync(arg_details, cancellable)¶
- Parameters:
arg_details (
GLib.Variant) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘RegisterSession() [gdbus-method-org-gnome-DisplayManager-Manager.RegisterSession]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Gdm.Manager.call_register_session() for the asynchronous version of this method.
- complete_open_reauthentication_channel(invocation, address)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.address (
str) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the ‘OpenReauthenticationChannel() [gdbus-method-org-gnome-DisplayManager-Manager.OpenReauthenticationChannel]’ 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_open_session(invocation, address)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.address (
str) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the ‘OpenSession() [gdbus-method-org-gnome-DisplayManager-Manager.OpenSession]’ 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_register_display(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘RegisterDisplay() [gdbus-method-org-gnome-DisplayManager-Manager.RegisterDisplay]’ 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_register_session(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘RegisterSession() [gdbus-method-org-gnome-DisplayManager-Manager.RegisterSession]’ 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_open_reauthentication_channel(invocation, arg_username) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_username (
str) –
- Return type:
Handler for the
Gdm.Manager::handle-open-reauthentication-channelsignal.
- do_handle_open_session(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –- Return type:
Handler for the
Gdm.Manager::handle-open-sessionsignal.
- do_handle_register_display(invocation, arg_details) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_details (
GLib.Variant) –
- Return type:
Handler for the
Gdm.Manager::handle-register-displaysignal.
- do_handle_register_session(invocation, arg_details) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_details (
GLib.Variant) –
- Return type:
Handler for the
Gdm.Manager::handle-register-sessionsignal.
Signal Details¶
- Gdm.Manager.signals.handle_open_reauthentication_channel(manager, invocation, arg_username)¶
- Signal Name:
handle-open-reauthentication-channel- Flags:
- Parameters:
manager (
Gdm.Manager) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_username (
str) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘OpenReauthenticationChannel() [gdbus-method-org-gnome-DisplayManager-Manager.OpenReauthenticationChannel]’ 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.Manager.complete_open_reauthentication_channel() 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_METHODerror is returned.
- Gdm.Manager.signals.handle_open_session(manager, invocation)¶
- Signal Name:
handle-open-session- Flags:
- Parameters:
manager (
Gdm.Manager) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘OpenSession() [gdbus-method-org-gnome-DisplayManager-Manager.OpenSession]’ 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.Manager.complete_open_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_METHODerror is returned.
- Gdm.Manager.signals.handle_register_display(manager, invocation, arg_details)¶
- Signal Name:
handle-register-display- Flags:
- Parameters:
manager (
Gdm.Manager) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_details (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘RegisterDisplay() [gdbus-method-org-gnome-DisplayManager-Manager.RegisterDisplay]’ 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.Manager.complete_register_display() 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_METHODerror is returned.
- Gdm.Manager.signals.handle_register_session(manager, invocation, arg_details)¶
- Signal Name:
handle-register-session- Flags:
- Parameters:
manager (
Gdm.Manager) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_details (
GLib.Variant) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘RegisterSession() [gdbus-method-org-gnome-DisplayManager-Manager.RegisterSession]’ 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.Manager.complete_register_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_METHODerror is returned.
Property Details¶
- Gdm.Manager.props.version¶
-
Represents the D-Bus property ‘“Version” [gdbus-property-org-gnome-DisplayManager-Manager.Version]’.
Since the D-Bus property for this
GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.