Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/gnome-session/dbus/ drwxr-xr-x |
Viewing file: Select action/file-type: Table of Contents
Table of Contents
This API is not yet stable and is likely to change in the future. Table of Contents
Nameorg.gnome.SessionManager — SessionManager interface MethodsSetenv (in 's' variable, in 's' value) InitializationError (in 's' message, in 'b' fatal) RegisterClient (in 's' app_id, in 's' client_startup_id, out 'o' client_id) UnregisterClient (in 'o' client_id) Inhibit (in 's' app_id, in 'u' toplevel_xid, in 's' reason, in 'u' flags, out 'u' inhibit_cookie) Uninhibit (in 'u' inhibit_cookie) IsInhibited (in 'u' flags, out 'b' is_inhibited) GetClients (out 'ao' clients) GetInhibitors (out 'ao' inhibitors) IsAutostartConditionHandled (in 's' condition, out 'b' handled) Shutdown () SaveSession () CanShutdown (out 'b' is_available) Logout (in 'u' mode) SignalsClientAdded ('o' id) ClientRemoved ('o' id) InhibitorAdded ('o' id) InhibitorRemoved ('o' id) SessionRunning () SessionOver () Implemented InterfacesObjects implementing org.gnome.SessionManager also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties DetailsSetenv ()Setenv (in 's' variable, in 's' value) Adds the variable name to the application launch environment with the specified value. May only be used during the Session Manager initialization phase.
InitializationError ()InitializationError (in 's' message, in 'b' fatal) May be used by applications launched during the Session Manager initialization phase to indicate there was a problem.
RegisterClient ()RegisterClient (in 's' app_id, in 's' client_startup_id, out 'o' client_id) Register the caller as a Session Management client.
UnregisterClient ()UnregisterClient (in 'o' client_id) Unregister the specified client from Session Management.
Inhibit ()Inhibit (in 's' app_id, in 'u' toplevel_xid, in 's' reason, in 'u' flags, out 'u' inhibit_cookie) Applications should invoke this method when they begin an operation that
should not be interrupted, such as creating a CD or DVD. The types of actions
that may be blocked are specified by the flags parameter. When the application
completes the operation it should call Applications should not expect that they will always be able to block the action. In most cases, users will be given the option to force the action to take place. Reasons should be short and to the point. The flags parameter must include at least one of the following:
Values for flags may be bitwise or'ed together.
The returned cookie is used to uniquely identify this request. It should be used
as an argument to
Uninhibit ()Uninhibit (in 'u' inhibit_cookie) Cancel a previous call to
IsInhibited ()IsInhibited (in 'u' flags, out 'b' is_inhibited) Determine if operation(s) specified by the flags
are currently inhibited. Flags are same as those accepted
by the
GetClients ()GetClients (out 'ao' clients) This gets a list of all the Clients that are currently known to the session manager. Each Client ID is an D-Bus object path for the object that implements the Client interface.
See also: org.gnome.SessionManager.Client GetInhibitors ()GetInhibitors (out 'ao' inhibitors) This gets a list of all the Inhibitors that are currently known to the session manager. Each Inhibitor ID is an D-Bus object path for the object that implements the Inhibitor interface.
See also: org.gnome.SessionManager.Inhibitor IsAutostartConditionHandled ()IsAutostartConditionHandled (in 's' condition, out 'b' handled) Allows the caller to determine whether the session manager is handling changes to the specified autostart condition.
CanShutdown ()CanShutdown (out 'b' is_available) Allows the caller to determine whether or not it's okay to show a shutdown option in the UI
Logout ()Logout (in 'u' mode) Request a logout dialog Allowed values for the mode parameter are:
Values for flags may be bitwise or'ed together.
Signal DetailsThe ClientAdded signalClientAdded ('o' id) Emitted when a client has been added to the session manager.
The ClientRemoved signalClientRemoved ('o' id) Emitted when a client has been removed from the session manager.
The InhibitorAdded signalInhibitorAdded ('o' id) Emitted when an inhibitor has been added to the session manager.
Nameorg.gnome.SessionManager.Client — Client interface MethodsGetAppId (out 's' app_id) GetStartupId (out 's' startup_id) GetRestartStyleHint (out 'u' hint) GetUnixProcessId (out 'u' pid) GetStatus (out 'u' status) Stop () Implemented InterfacesObjects implementing org.gnome.SessionManager.Client also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties DetailsGetAppId ()GetAppId (out 's' app_id) Return the application ID associated with this client.
GetStartupId ()GetStartupId (out 's' startup_id) Return the startup ID associated with this client.
GetRestartStyleHint ()GetRestartStyleHint (out 'u' hint) Return the restart style hint for this client.
Nameorg.gnome.SessionManager.ClientPrivate — ClientPrivate interface MethodsEndSessionResponse (in 'b' is_ok, in 's' reason) Implemented InterfacesObjects implementing org.gnome.SessionManager.ClientPrivate also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties DetailsEndSessionResponse ()EndSessionResponse (in 'b' is_ok, in 's' reason) This method should be used by the client in response to
the
Signal DetailsThe Stop signalStop () The client should stop and remove itself from the session in response to this signal. The QueryEndSession signalQueryEndSession ('u' flags) This signal is used to inform the client that the
session is about to end. The client must respond by
calling
The flags may include:
If the client responds with an EndSessionResponse is-ok argument equal to FALSE and a reason then this reason may be displayed to the user.
The client must not attempt to perform any actions or
interact with the user in response to this signal. Any
actions required for a clean shutdown should take place in
response to the
The client should limit operations until either a
The EndSession signalEndSession ('u' flags) This signal is used to inform the client that the
session is about to end. The client must respond by
calling
The client must not attempt to interact with the user in response to this signal. The application will be given a maxium of ten seconds to perform any actions required for a clean shutdown.
The CancelEndSession signalCancelEndSession ()
This signal indicates to the client that a previous emission of
Nameorg.gnome.SessionManager.Inhibitor — Inhibitor interface MethodsGetAppId (out 's' app_id) GetClientId (out 'o' client_id) GetReason (out 's' reason) GetFlags (out 'u' flags) GetToplevelXid (out 'u' xid) Implemented InterfacesObjects implementing org.gnome.SessionManager.Inhibitor also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties DetailsGetAppId ()GetAppId (out 's' app_id) Return the application ID associated with this inhibit.
GetClientId ()GetClientId (out 'o' client_id) Return the client object path associated with this inhibit.
GetReason ()GetReason (out 's' reason) Return the reason for the inhibit
Nameorg.gnome.SessionManager.Presence — Presence interface MethodsSetStatus (in 'u' status) SetStatusText (in 's' status_text) Implemented InterfacesObjects implementing org.gnome.SessionManager.Presence also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties C
E
G
I
L
Q
R
S
U
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0143 ]-- |