Class
PhoshShell
Description [src]
final class Phosh.Shell : GObject.Object {
/* No available fields */
}
The shell singleton
PhoshShell
is responsible for instantiating the GUI
parts of the shell#PhoshTopPanel, PhoshHome
,… and the managers that
interface with DBus PhoshMonitorManager
, PhoshFeedbackManager
, …
and coordinates between them.
Instance methods
phosh_shell_get_usable_area
Gives the usable area in pixels usable by a client on the primary display.
phosh_shell_set_locked
Lock the shell. We proxy to lockscreen-manager to avoid that other parts of the shell need to care about this abstraction.
Properties
Phosh.Shell:builtin-monitor
The built in monitor. This is a hardware property and hence can
only be read. It can be NULL
when not present or disabled.
Phosh.Shell:docked
Whether the device is currently docked. This mirrors the property
from PhoshDockedManager
for easier access.
Phosh.Shell:locked
Whether the screen is currently locked. This mirrors the property
from PhoshLockscreenManager
for easier access.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.