Namespace
Phosh – 0
Phosh is a Wayland shell for mobile devices using GNOME technologies.
Dependencies
GLib—2.0 | The base type system library |
Browse documentation | |
Handy—1 | Building blocks for modern adaptive GNOME applications. |
Browse documentation |
Classes
Activity | An app in the favorites overview. |
Ambient | Ambient light sensor handling. |
AppAuthPrompt | A system modal prompt to authorize applications. |
AppGrid | |
AppGridButton | |
AppListModel | |
AppTracker | Application state tracker. |
Arrow | An animated arrow. |
Auth | PAM authentication handling. |
AuthPromptOption | |
Background | The monitor’s background. |
BackgroundManager | Tracks screen related events and updates backgrounds accordingly. |
BatteryInfo | A widget to display the battery status. |
BtInfo | A widget to display the bluetooth status. |
BtManager | Tracks the Bluetooth status. |
Call | A phone call. |
CallsDBusCallsCallProxy | The |
CallsDBusCallsCallSkeleton | The |
CallsDBusObjectManagerClient | The |
CallsDBusObjectProxy | The |
CallsDBusObjectSkeleton | The |
CallsManager | Track ongoing phone calls. |
Clamp | A container limiting its natural size request. |
ConnectivityInfo | A widget to display the connectivity status. |
DBusDisplayConfigProxy | The |
DBusDisplayConfigSkeleton | The |
DBusEndSessionDialogProxy | The |
DBusEndSessionDialogSkeleton | The |
DBusGnomeShellProxy | The |
DBusGnomeShellSkeleton | The |
DBusHostname1Proxy | The |
DBusHostname1Skeleton | The |
DBusImplPortalAccessProxy | The |
DBusImplPortalAccessSkeleton | The |
DBusImplPortalRequestProxy | The |
DBusImplPortalRequestSkeleton | The |
DBusLoginManagerProxy | The |
DBusLoginManagerSkeleton | The |
DBusLoginSessionProxy | The |
DBusLoginSessionSkeleton | The |
DBusMountOperationHandlerProxy | The |
DBusMountOperationHandlerSkeleton | The |
DBusNotification | A notifiction submitted via the DBus notification interface. |
DBusScreenSaverProxy | The |
DBusScreenSaverSkeleton | The |
DBusScreenshotProxy | The |
DBusScreenshotSkeleton | The |
DBusSensorProxyCompassProxy | The |
DBusSensorProxyCompassSkeleton | The |
DBusSensorProxyProxy | The |
DBusSensorProxySkeleton | The |
DBusSessionManagerProxy | The |
DBusSessionManagerSkeleton | The |
DockedInfo | A widget to display the docked status. |
DockedManager | Handles ‘docking” the phone to additional hardware. |
DragSurface | A drgable layer surface. |
EmergencyCallsManager | Manages emergency calls and contacts. Contacts are kept in a GListStore containing the emergency contacts form the calls API. |
EmergencyCallsProxy | The |
EmergencyCallsSkeleton | The |
EmergencyContact | |
EmergencyContactRow | A widget that displays a the data in the attached |
EmergencyMenu | A menu that allows the user to dial an emergency service, see emergency info and quickly call emergency contacts. |
EndSessionDialog | A system modal prompt to authorize applications. |
Fader | A fader. |
FadingLabel | A label that visually fades out when too wide for the given space. |
FavoriteListModel | |
FeedbackInfo | A widget to display feedback status. |
FeedbackManager | Sends and configures user feedback. |
GeoClueDBusManagerProxy | The |
GeoClueDBusManagerSkeleton | The |
GeoClueDBusOrgFreedesktopGeoClue2AgentProxy | The |
GeoClueDBusOrgFreedesktopGeoClue2AgentSkeleton | The |
GnomeShellManager | Provides the org.gnome.Shell DBus interface. |
GtkMountManager | Provides the org.Gtk.GtkMountOperationHandler DBus interface. |
GtkMountPrompt | A modal prompt for |
Head | An output head. |
HksInfo | A widget to display the HKS status of a device. |
HksManager | Tracks hardware kill switch state. |
Home | The home surface contains the overview and the button to fold and unfold the overview. |
IdleDBusIdleMonitorProxy | The |
IdleDBusIdleMonitorSkeleton | The |
IdleDBusObjectManagerClient | The |
IdleDBusObjectProxy | The |
IdleDBusObjectSkeleton | The |
IdleManager | The idle manager singleton. |
KeyboardEvents | Grabs and manages special keyboard events. |
Keypad | A keypad for pin input. |
LayerSurface | A |
LocationInfo | A widget to display the location service status. |
LocationManager | Provides the org.freedesktop.GeoClue2.Agent DBus interface. |
Lockscreen | The main lock screen. |
LockscreenManager | The singleton that manages screen locking. |
Lockshield | Lock shield for non primary screens. |
Manager | Base class for manager objects. |
MediaPlayer | A simple MPRIS media player widget. |
MMDBusModemModem3gppProxy | The |
MMDBusModemModem3gppSkeleton | The |
MMDBusModemProxy | The |
MMDBusModemSkeleton | The |
MMDBusObjectManagerClient | The |
MMDBusObjectProxy | The |
MMDBusObjectSkeleton | The |
ModeManager | Determines the device mode. |
Monitor | A monitor. |
MonitorManager | The singleton that manages available monitors. |
MountManager | Mount devices. |
MountNotification | A notifiction shown when a device got mounted. |
MountOperation |
|
MprisDBusMediaPlayer2PlayerProxy | The |
MprisDBusMediaPlayer2PlayerSkeleton | The |
MprisDBusMediaPlayer2Proxy | The |
MprisDBusMediaPlayer2Skeleton | The |
NetworkAuthManager | Handles the interaction between networkmanager and the auth prompts. |
NetworkAuthPrompt | A modal prompt for asking Network credentials. |
Notification | A notification. |
NotificationBanner | A floating notification. |
NotificationContent | Content of a notification. |
NotificationFrame | A frame containing one or more notifications. |
NotificationList | A list containing one or more |
NotificationSource | A |
NotifyDBusNotificationsProxy | The |
NotifyDBusNotificationsSkeleton | The |
NotifyFeedback | Provide feedback on notifications. |
NotifyManager | Manages notifications. |
OfonoDBusManagerProxy | The |
OfonoDBusManagerSkeleton | The |
OfonoDBusNetworkRegistrationProxy | The |
OfonoDBusNetworkRegistrationSkeleton | The |
OfonoDBusSimManagerProxy | The |
OfonoDBusSimManagerSkeleton | The |
OsdWindow | A OSD Window. |
Osk0SmPuriOSK0Proxy | The |
Osk0SmPuriOSK0Skeleton | The |
OskButton | A button that toggles the OSK. |
OskManager | A manager that handles the OSK. |
Overview | The overview shows running apps and the app grid to launch new applications. |
PluginLoader | |
PolkitAuthAgent | PolicyKit Authentication Agent. |
PolkitAuthPrompt | A modal prompt for policy kit authentication. |
PortalAccessManager | Implements org.freedesktop.impl.portal. |
PortalRequest | Shared request api for all portal backend interfaces. |
PowerMenu | Menu on power button press. |
PowerMenuManager | Handles the power button menu. |
Proximity | Proximity sensor handling. |
QuickSetting | A quick setting for the notification drawer. |
Revealer | Reveals e.g. a |
RfkillDBusRfkillProxy | The |
RfkillDBusRfkillSkeleton | The |
RotateInfo | A widget to display the rotate lock status. |
RotationManager | The Rotation Manager. |
RunCommandDialog | A modal dialog to run commands from. |
RunCommandManager | Handles the run-command-dialog. |
ScreenSaverManager | Provides the org.gnome.ScreenSaver DBus interface and handles logind’s Session. |
ScreenshotManager | Screenshot interaction. |
SensorProxyManager | Interface with iio-sensor-proxy. |
SessionClientPrivateDBusClientPrivateProxy | The |
SessionClientPrivateDBusClientPrivateSkeleton | The |
SessionManager | Session interaction. |
SessionPresence | Interface with gnome-session’s Presence interface. |
SessionPresenceDBusPresenceProxy | The |
SessionPresenceDBusPresenceSkeleton | The |
Shell | The shell singleton. |
Splash | A splash screen. |
SplashManager | Handles splash screens. |
StatusIcon | Base clase for different status icons e.g in the top bar. |
SuspendManager | Manages suspend and inhibit’s suspend when not useful. |
SwipeAwayBin | |
SystemModal | A modal system component. |
SystemModalDialog | A modal system dialog. |
SystemPrompt | A modal system prompt. |
Thumbnail | An abstract class representing a thumbnail image. |
TimestampLabel | A simple way of displaying a time difference. |
Toplevel | Represents a single toplevel surface. |
ToplevelManager | Tracks and interacts with toplevel surfaces for window management purposes. |
ToplevelThumbnail | Represents an image snapshot of PhoshToplevel obtained via phosh-private and wlr-screencopy Wayland protocols. |
TopPanel | The top panel. |
TorchInfo | A widget to display the torch status. |
TorchManager | Interacts with torch via UPower. |
VpnInfo | A widget to display the vpn status. |
VpnManager | Tracks the Vpn status and handle vpn credentials entry. |
Wayland | A wayland registry listener. |
WidgetBox | A box of widgets for the lock screen. |
WifiInfo | A widget to display the wifi status. |
WifiManager | Tracks the Wifi status and handle wifi credentials entry. |
WWanInfo | A widget to display the wwan status. |
WWanManager | Base class for |
WWanMM | Implementation of the |
WWanOfono | Implementation of the |
Interfaces
CallsDBusCallsCall | Abstract interface type for the D-Bus interface org.gnome.Calls.Call. |
CallsDBusObject | The |
DBusDisplayConfig | Abstract interface type for the D-Bus interface org.gnome.Mutter.DisplayConfig. |
DBusEndSessionDialog | Abstract interface type for the D-Bus interface org.gnome.SessionManager.EndSessionDialog. |
DBusGnomeShell | Abstract interface type for the D-Bus interface org.gnome.Shell. |
DBusHostname1 | Abstract interface type for the D-Bus interface org.freedesktop.hostname1. |
DBusImplPortalAccess | Abstract interface type for the D-Bus interface org.freedesktop.impl.portal.Access. |
DBusImplPortalRequest | Abstract interface type for the D-Bus interface org.freedesktop.impl.portal.Request. |
DBusLoginManager | Abstract interface type for the D-Bus interface org.freedesktop.login1.Manager. |
DBusLoginSession | Abstract interface type for the D-Bus interface org.freedesktop.login1.Session. |
DBusMountOperationHandler | Abstract interface type for the D-Bus interface org.Gtk.MountOperationHandler. |
DBusScreenSaver | Abstract interface type for the D-Bus interface org.gnome.ScreenSaver. |
DBusScreenshot | Abstract interface type for the D-Bus interface org.gnome.Shell.Screenshot. |
DBusSensorProxy | Abstract interface type for the D-Bus interface net.hadess.SensorProxy. |
DBusSensorProxyCompass | Abstract interface type for the D-Bus interface net.hadess.SensorProxy.Compass. |
DBusSessionManager | Abstract interface type for the D-Bus interface org.gnome.SessionManager. |
EmergencyCalls | Abstract interface type for the D-Bus interface org.gnome.Calls.EmergencyCalls. |
GeoClueDBusManager | Abstract interface type for the D-Bus interface org.freedesktop.GeoClue2.Manager. |
GeoClueDBusOrgFreedesktopGeoClue2Agent | Abstract interface type for the D-Bus interface org.freedesktop.GeoClue2.Agent. |
IdleDBusIdleMonitor | Abstract interface type for the D-Bus interface org.gnome.Mutter.IdleMonitor. |
IdleDBusObject | The |
MMDBusModem | Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Modem. |
MMDBusModemModem3gpp | Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp. |
MMDBusObject | The |
MprisDBusMediaPlayer2 | Abstract interface type for the D-Bus interface org.mpris.MediaPlayer2. |
MprisDBusMediaPlayer2Player | Abstract interface type for the D-Bus interface org.mpris.MediaPlayer2.Player. |
NotifyDBusNotifications | Abstract interface type for the D-Bus interface org.freedesktop.Notifications. |
OfonoDBusManager | Abstract interface type for the D-Bus interface org.ofono.Manager. |
OfonoDBusNetworkRegistration | Abstract interface type for the D-Bus interface org.ofono.NetworkRegistration. |
OfonoDBusSimManager | Abstract interface type for the D-Bus interface org.ofono.SimManager. |
Osk0SmPuriOSK0 | Abstract interface type for the D-Bus interface sm.puri.OSK0. |
RfkillDBusRfkill | Abstract interface type for the D-Bus interface org.gnome.SettingsDaemon.Rfkill. |
SessionClientPrivateDBusClientPrivate | Abstract interface type for the D-Bus interface org.gnome.SessionManager.ClientPrivate. |
SessionPresenceDBusPresence | Abstract interface type for the D-Bus interface org.gnome.SessionManager.Presence. |
WWan |
Structs
Animation | |
HeadMode | |
MonitorMode | |
NMSecret | Used for secret transfer between |
WlBuffer | A buffer received from the Wayland compositor containing image data. |
Enumerations
AnimationType | The animation type of |
AppGridButtonMode | Display mode of a |
DragSurfaceDragMode | The drag mode of the drag surface. Specifies how and where the surface is draggable. |
DragSurfaceState | The state of the drag surface. |
HksDeviceType | Keep in sync with kernels rfkill types. |
HomeState | The state of |
LockscreenPage | This enum indicates which page is shown on the lockscreen.
This helps |
LogoutAction | The requested action the |
MediaPlayerStatus | The status of the media player attached to the wigget. |
ModeDeviceType | A type of device. |
MonitorConnectorType | This matches the values in drm_mode.h. |
MonitorManagerConfigMethod | Equivalent to the ‘method’ enum in org.gnome.Mutter.DisplayConfig. |
MonitorPowerSaveMode | The power save mode of a monitor. |
MonitorTransform | The monitors rotation. This corresponds to the values in the org.gnome.Mutter.DisplayConfig DBus protocol. |
NotificationReason | |
NotificationUrgency | |
RotateInfoMode | The power save mode of a monitor. |
RotationManagerMode | The mode of a |
TopPanelState | |
WWanBackend |
Bitfields
AppFilterModeFlags | Controls what kind of app filtering is done. |
ModeHwFlags | Attached external hardware. |
NotifyScreenWakeupFlags | What notification properties trigger screen wakeup. |
ShellDebugFlags | These flags are to enable/disable debugging features. |
ShellStateFlags | These flags are used to keep track of the state
the |
WaylandSeatCapabilities | These match wl_seat_capabilities. |
Functions
clear_fd | |
connect_feedback | Installs “pressed” and “released” signal handlers for haptic feedback. |
cp_widget_destroy | |
create_shm_file | Create a shared memory file of the given size. |
error_warnv | |
find_base_dir | |
find_systemd_session | |
get_desktop_app_info_for_app_id | Looks up an app info object for specified application ID. Tries a bunch of transformations in order to maximize compatibility with X11 and non-GTK applications that may not report the exact same string as their app-id and in their desktop file. |
get_resource | |
log_set_log_domains | Set the current logging domains. This sets an appropriate log handler as well. |
munge_app_id | Munges an app_id according to the rules used by gnome-shell, feedbackd and phoc for gsettings: |
polkit_authentication_agent_register | |
strip_suffix_from_app_id | Strip the desktop suffix from app_id. |
system_prompter_register | |
system_prompter_unregister | |
trigger_feedback | Trigger feedback for the given event asynchronously. |
util_escape_markup | Escapes the given markup either fully or (when |
util_gesture_is_touch | Allow to check whether a gesture’s last event was a touch press or release. This can be used to distinguish mouse and touchpad clicks from touch press/release. |
util_get_stylesheet | |
util_have_gnome_software | |
util_local_date | |
util_toggle_style_class | Adds or removes the specified style class on the widget. |
Function Macros
Constants
APP_UNKNOWN_ICON | Icon name to use for apps we can’t identify or whose icon is invalid. |
EXTENSION_POINT_LOCKSCREEN_WIDGET | |
HOME_BUTTON_HEIGHT | |
MODE_DOCKED_PHONE_MASK | |
NOTIFICATION_DEFAULT_ACTION | |
PRIVATE_GET_THUMBNAIL_SINCE | |
PRIVATE_KBD_EVENTS_SINCE | |
PRIVATE_SHELL_READY_SINCE | |
PRIVATE_STARTUP_NOTIFY_SINCE | |
TOP_PANEL_HEIGHT |