Top | ![]() |
![]() |
![]() |
![]() |
gboolean | locked | Read / Write |
PhoshMonitor * | primary-monitor | Read / Write |
guint | rotation | Read |
Phosh shell is responsible for instantiating the GUI parts of the shellPhoshPanel, PhoshHome,… and the managers that interface with DBus PhoshMonitorManager, PhoshFeedbackManager, … and coordinates between them.
void phosh_shell_get_usable_area (PhoshShell *self
,gint *x
,gint *y
,gint *width
,gint *height
);
void phosh_shell_set_locked (PhoshShell *self
,gboolean locked
);
Lock the shell. We proxy to lockscreen-manager to avoid that other parts of the shell need to care about this abstraction.
void phosh_shell_set_primary_monitor (PhoshShell *self
,PhoshMonitor *monitor
);
PhoshMonitor *
phosh_shell_get_primary_monitor (PhoshShell *self
);
PhoshMonitor *
phosh_shell_get_builtin_monitor (PhoshShell *self
);
PhoshLockscreenManager *
phosh_shell_get_lockscreen_manager (PhoshShell *self
);
PhoshMonitorManager *
phosh_shell_get_monitor_manager (PhoshShell *self
);
PhoshToplevelManager *
phosh_shell_get_toplevel_manager (PhoshShell *self
);
PhoshFeedbackManager *
phosh_shell_get_feedback_manager (PhoshShell *self
);
void phosh_shell_enable_power_save (PhoshShell *self
,gboolean enable
);
gboolean
phosh_shell_started_by_display_manager
(PhoshShell *self
);
returns TRUE
if we were started from a
display manager. FALSE
otherwise.
gboolean
phosh_shell_is_startup_finished (PhoshShell *self
);
returns TRUE
if the shell finished startup. FALSE
otherwise.
“locked”
property “locked” gboolean
Whether the screen is locked.
Flags: Read / Write
Default value: FALSE
“primary-monitor”
property“primary-monitor” PhoshMonitor *
The primary monitor.
Flags: Read / Write