org.freedesktop.ConsoleKit.Seat org.freedesktop.ConsoleKit.Seat Seat interface Methods GetId (out 'o' sid) GetSessions (out 'ao' sessions) GetActiveSession (out 'o' ssid) CanActivateSessions (out 'b' can_activate) ActivateSession (in 'o' ssid) Signals ActiveSessionChanged ('o' ssid) SessionAdded ('o' ssid) SessionRemoved ('o' ssid) Implemented Interfaces org.freedesktop.ConsoleKit.Seat implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties Properties Description A seat is a collection of sessions and a set of hardware (usually at least a keyboard and mouse). Only one session may be active on a seat at a time. Details<anchor role="function" id="Seat.GetId"/>GetId ()GetIdSeatGetId (out 'o' sid)Returns the ID for Seat. sid:Seat ID<anchor role="function" id="Seat.GetSessions"/>GetSessions ()GetSessionsSeatGetSessions (out 'ao' sessions) This gets a list of all the Sessions that are currently attached to this seat. Each Session ID is an D-Bus object path for the object that implements the Session interface. sessions:an array of Session IDs<anchor role="function" id="Seat.GetActiveSession"/>GetActiveSession ()GetActiveSessionSeatGetActiveSession (out 'o' ssid) Gets the Session ID that is currently active on this Seat. Returns NULL if there is no active session. ssid:Session ID<anchor role="function" id="Seat.CanActivateSessions"/>CanActivateSessions ()CanActivateSessionsSeatCanActivateSessions (out 'b' can_activate)Used to determine whether the seat supports session activation. can_activate:TRUE if seat supports session activation<anchor role="function" id="Seat.ActivateSession"/>ActivateSession ()ActivateSessionSeatActivateSession (in 'o' ssid) Attempt to activate the specified session. In most cases, if successful, this will cause the session to become visible and take control of the hardware that is associated with this seat. ssid:Session ID See also: Activate() Signal Details<anchor role="function" id="Seat::ActiveSessionChanged"/>The ActiveSessionChanged signalActiveSessionChangedSeatActiveSessionChanged ('o' ssid) Emitted when the active session has changed. ssid:Session ID<anchor role="function" id="Seat::SessionAdded"/>The SessionAdded signalSessionAddedSeatSessionAdded ('o' ssid) Emitted when a session has been added to the seat. ssid:Session ID<anchor role="function" id="Seat::SessionRemoved"/>The SessionRemoved signalSessionRemovedSeatSessionRemoved ('o' ssid) Emitted when a session has been removed from the seat. ssid:Session ID Property Details