| Top |
| PhoshMonitor * | builtin-monitor | Read |
| gboolean | locked | Read / Write |
| PhoshMonitor * | primary-monitor | Read / Write |
| PhoshShellStateFlags | shell-state | Read |
| enum | PhoshShellStateFlags |
| enum | PhoshShellDebugFlags |
| #define | PHOSH_APP_ID |
| #define | PHOSH_TYPE_SHELL |
| PhoshShell |
PhoshShell is responsible for instantiating the GUI parts of the shellPhoshTopPanel, PhoshHome,… and the managers that interface with DBus PhoshMonitorManager, PhoshFeedbackManager, … and coordinates between them.
void phosh_shell_get_usable_area (PhoshShell *self,int *x,int *y,int *width,int *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);
PhoshBackgroundManager *
phosh_shell_get_background_manager (PhoshShell *self);
PhoshCallsManager *
phosh_shell_get_calls_manager (PhoshShell *self);
PhoshFeedbackManager *
phosh_shell_get_feedback_manager (PhoshShell *self);
PhoshGtkMountManager *
phosh_shell_get_gtk_mount_manager (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);
PhoshSessionManager *
phosh_shell_get_session_manager (PhoshShell *self);
PhoshDockedManager *
phosh_shell_get_docked_manager (PhoshShell *self);
PhoshLocationManager *
phosh_shell_get_location_manager (PhoshShell *self);
PhoshRotationManager *
phosh_shell_get_rotation_manager (PhoshShell *self);
PhoshTorchManager *
phosh_shell_get_torch_manager (PhoshShell *self);
void phosh_shell_enable_power_save (PhoshShell *self,gboolean enable);
gboolean
phosh_shell_started_by_display_manager
(PhoshShell *self);
void phosh_shell_add_global_keyboard_action_entries (PhoshShell *self,const GActionEntry *actions,gint n_entries,gpointer user_data);
void phosh_shell_remove_global_keyboard_action_entries (PhoshShell *self,GStrv action_names);
gboolean
phosh_shell_is_session_active (PhoshShell *self);
Whether this shell is part of the active session
GdkAppLaunchContext *
phosh_shell_get_app_launch_context (PhoshShell *self);
void phosh_shell_set_state (PhoshShell *self,PhoshShellStateFlags state,gboolean enabled);
Set the shells state.
gboolean
phosh_shell_get_show_splash (PhoshShell *self);
Whether splash screens should be used when apps start
“builtin-monitor” property“builtin-monitor” PhoshMonitor *
The built in monitor. This is a hardware property and hence can
only be read. It can be NULL when not present or disabled.
Owner: PhoshShell
Flags: Read
“locked” property“locked” gboolean
Whether the screen is locked.
Owner: PhoshShell
Flags: Read / Write
Default value: FALSE
“primary-monitor” property“primary-monitor” PhoshMonitor *
The primary monitor that has the panels, lock screen etc.
Owner: PhoshShell
Flags: Read / Write
“shell-state” property“shell-state” PhoshShellStateFlags
The state of the shell.
Owner: PhoshShell
Flags: Read