Namespace

Phosh – 0

Phosh is a Wayland shell for mobile devices using GNOME technologies.

Version0.44.0
AuthorsThe Phosh Developers
LicenseGPL-3-or-later
Websitehttps://phosh.mobi
Sourcehttps://gitlab.gnome.org/World/Phosh/phosh

Build

C headerslibphosh.h
pkg-config fileslibphosh-0.44

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

AppGridBaseButton

Base class for buttons in app grid. Add the display widget (like image or grid of images) as a child. Use PhoshAppGridBaseButton:label property to set the label.

AppGridButton

An app-grid button to represent an application launcher or favorite.

AppGridFolderButton

A widget to display the apps in a folder.

AppListModel

AppTracker

Application state tracker.

Arrow

An animated arrow.

AudioDevice

Audio device information stored in PhoshAudioDevices.

AudioDeviceRow

A widget intended to be stored in a GtkListBox to represent and audio device.

AudioDevices

The currently available audio devices as a list model. The model can hold either input or output devices.

AudioSettings

Widget to conrol Audio device selection and volume.

Auth

PAM authentication handling.

AuthPromptOption

Background

A PhoshLayerSurface representing the background drawn on a PhoshMonitor.

BackgroundCache

A cache of background images.

BackgroundImage

An image for a PhoshBackground that can be loaded async via PhoshBackgroundCache.

BackgroundManager

PhoshBackgroundManager keeps tracks of PhoshMonitors to create PhoshBackgrounds that are responsible for rendering the background (or wallpaper). Whenever either the monitors’ configuration or the configured wallpaper properties change the backgrounds are notified to update their contents.

BatteryInfo

A widget to display the battery status.

BtDeviceRow

A widget to display a Bluetooth device.

BtInfo

A widget to display the bluetooth status.

BtManager

Tracks the Bluetooth status.

BtStatusPage

A Quick setting status page widget to show Bluetooth devices.

Call

A phone call.

CallNotification

The notifictaion shown when a call is ongoing. The call is set at construction time and can’t be changed.

CallsDBusCallsCallProxy

The PhoshCallsDBusCallsCallProxy structure contains only private data and should only be accessed using the provided API.

CallsDBusCallsCallSkeleton

The PhoshCallsDBusCallsCallSkeleton structure contains only private data and should only be accessed using the provided API.

CallsDBusObjectManagerClient

The PhoshCallsDBusObjectManagerClient structure contains only private data and should only be accessed using the provided API.

CallsDBusObjectProxy

The PhoshCallsDBusObjectProxy structure contains only private data and should only be accessed using the provided API.

CallsDBusObjectSkeleton

The PhoshCallsDBusObjectSkeleton structure contains only private data and should only be accessed using the provided API.

CallsManager

Track ongoing phone calls.

Clamp

A container limiting its natural size request.

ConnectivityInfo

A widget to display the connectivity status.

DBusColorProxy

The PhoshDBusColorProxy structure contains only private data and should only be accessed using the provided API.

DBusColorSkeleton

The PhoshDBusColorSkeleton structure contains only private data and should only be accessed using the provided API.

DBusDisplayConfigProxy

The PhoshDBusDisplayConfigProxy structure contains only private data and should only be accessed using the provided API.

DBusDisplayConfigSkeleton

The PhoshDBusDisplayConfigSkeleton structure contains only private data and should only be accessed using the provided API.

DBusEndSessionDialogProxy

The PhoshDBusEndSessionDialogProxy structure contains only private data and should only be accessed using the provided API.

DBusEndSessionDialogSkeleton

The PhoshDBusEndSessionDialogSkeleton structure contains only private data and should only be accessed using the provided API.

DBusGnomeShellProxy

The PhoshDBusGnomeShellProxy structure contains only private data and should only be accessed using the provided API.

DBusGnomeShellSkeleton

The PhoshDBusGnomeShellSkeleton structure contains only private data and should only be accessed using the provided API.

DBusHostname1Proxy

The PhoshDBusHostname1Proxy structure contains only private data and should only be accessed using the provided API.

DBusHostname1Skeleton

The PhoshDBusHostname1Skeleton structure contains only private data and should only be accessed using the provided API.

DBusImplPortalAccessProxy

The PhoshDBusImplPortalAccessProxy structure contains only private data and should only be accessed using the provided API.

DBusImplPortalAccessSkeleton

The PhoshDBusImplPortalAccessSkeleton structure contains only private data and should only be accessed using the provided API.

DBusImplPortalRequestProxy

The PhoshDBusImplPortalRequestProxy structure contains only private data and should only be accessed using the provided API.

DBusImplPortalRequestSkeleton

The PhoshDBusImplPortalRequestSkeleton structure contains only private data and should only be accessed using the provided API.

DBusLoginManagerProxy

The PhoshDBusLoginManagerProxy structure contains only private data and should only be accessed using the provided API.

DBusLoginManagerSkeleton

The PhoshDBusLoginManagerSkeleton structure contains only private data and should only be accessed using the provided API.

DBusLoginSessionProxy

The PhoshDBusLoginSessionProxy structure contains only private data and should only be accessed using the provided API.

DBusLoginSessionSkeleton

The PhoshDBusLoginSessionSkeleton structure contains only private data and should only be accessed using the provided API.

DBusMountOperationHandlerProxy

The PhoshDBusMountOperationHandlerProxy structure contains only private data and should only be accessed using the provided API.

DBusMountOperationHandlerSkeleton

The PhoshDBusMountOperationHandlerSkeleton structure contains only private data and should only be accessed using the provided API.

DBusNotification

A notifiction submitted via the DBus notification interface.

DBusOfonoManagerProxy

The PhoshDBusOfonoManagerProxy structure contains only private data and should only be accessed using the provided API.

DBusOfonoManagerSkeleton

The PhoshDBusOfonoManagerSkeleton structure contains only private data and should only be accessed using the provided API.

DBusOfonoNetworkRegistrationProxy

The PhoshDBusOfonoNetworkRegistrationProxy structure contains only private data and should only be accessed using the provided API.

DBusOfonoNetworkRegistrationSkeleton

The PhoshDBusOfonoNetworkRegistrationSkeleton structure contains only private data and should only be accessed using the provided API.

DBusOfonoSimManagerProxy

The PhoshDBusOfonoSimManagerProxy structure contains only private data and should only be accessed using the provided API.

DBusOfonoSimManagerSkeleton

The PhoshDBusOfonoSimManagerSkeleton structure contains only private data and should only be accessed using the provided API.

DBusScreenSaverProxy

The PhoshDBusScreenSaverProxy structure contains only private data and should only be accessed using the provided API.

DBusScreenSaverSkeleton

The PhoshDBusScreenSaverSkeleton structure contains only private data and should only be accessed using the provided API.

DBusScreenshotProxy

The PhoshDBusScreenshotProxy structure contains only private data and should only be accessed using the provided API.

DBusScreenshotSkeleton

The PhoshDBusScreenshotSkeleton structure contains only private data and should only be accessed using the provided API.

DBusSensorProxyCompassProxy

The PhoshDBusSensorProxyCompassProxy structure contains only private data and should only be accessed using the provided API.

DBusSensorProxyCompassSkeleton

The PhoshDBusSensorProxyCompassSkeleton structure contains only private data and should only be accessed using the provided API.

DBusSensorProxyProxy

The PhoshDBusSensorProxyProxy structure contains only private data and should only be accessed using the provided API.

DBusSensorProxySkeleton

The PhoshDBusSensorProxySkeleton structure contains only private data and should only be accessed using the provided API.

DBusSessionManagerProxy

The PhoshDBusSessionManagerProxy structure contains only private data and should only be accessed using the provided API.

DBusSessionManagerSkeleton

The PhoshDBusSessionManagerSkeleton structure contains only private data and should only be accessed using the provided API.

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 PhoshEmergencyCallsProxy structure contains only private data and should only be accessed using the provided API.

EmergencyCallsSkeleton

The PhoshEmergencyCallsSkeleton structure contains only private data and should only be accessed using the provided API.

EmergencyContact

EmergencyContactRow

A widget that displays a the data in the attached PhoshEmergencyContact.

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

A GListModel of the users favorite applications.

since: 0.1.3

FeedbackInfo

A widget to display feedback status.

FeedbackManager

Sends and configures user feedback.

FolderInfo

An object that represents a list of applications belonging to a folder.

GeoClueDBusManagerProxy

The PhoshGeoClueDBusManagerProxy structure contains only private data and should only be accessed using the provided API.

GeoClueDBusManagerSkeleton

The PhoshGeoClueDBusManagerSkeleton structure contains only private data and should only be accessed using the provided API.

GeoClueDBusOrgFreedesktopGeoClue2AgentProxy

The PhoshGeoClueDBusOrgFreedesktopGeoClue2AgentProxy structure contains only private data and should only be accessed using the provided API.

GeoClueDBusOrgFreedesktopGeoClue2AgentSkeleton

The PhoshGeoClueDBusOrgFreedesktopGeoClue2AgentSkeleton structure contains only private data and should only be accessed using the provided API.

GnomeShellManager

Provides the org.gnome.Shell DBus interface.

GtkMountManager

Provides the org.Gtk.GtkMountOperationHandler DBus interface.

GtkMountPrompt

A modal prompt for PhoshGtkMountManager.

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 home bar to fold and unfold the overview.

IdleDBusIdleMonitorProxy

The PhoshIdleDBusIdleMonitorProxy structure contains only private data and should only be accessed using the provided API.

IdleDBusIdleMonitorSkeleton

The PhoshIdleDBusIdleMonitorSkeleton structure contains only private data and should only be accessed using the provided API.

IdleDBusObjectManagerClient

The PhoshIdleDBusObjectManagerClient structure contains only private data and should only be accessed using the provided API.

IdleDBusObjectProxy

The PhoshIdleDBusObjectProxy structure contains only private data and should only be accessed using the provided API.

IdleDBusObjectSkeleton

The PhoshIdleDBusObjectSkeleton structure contains only private data and should only be accessed using the provided API.

IdleManager

The idle manager singleton.

KeyboardEvents

Grabs and manages special keyboard events.

Keypad

A keypad for pin input.

LauncherEntryManager

Handles the launcher entry DBus API. See https://wiki.ubuntu.com/Unity/LauncherAPI.

LayerSurface

A GtkWindow rendered as a LayerSurface by the compositor.

LayoutManager

Provide information on how to layout shell elements.

since: 0.29.0

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.

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

GMountOperation using UI.

MprisDBusMediaPlayer2PlayerProxy

The PhoshMprisDBusMediaPlayer2PlayerProxy structure contains only private data and should only be accessed using the provided API.

MprisDBusMediaPlayer2PlayerSkeleton

The PhoshMprisDBusMediaPlayer2PlayerSkeleton structure contains only private data and should only be accessed using the provided API.

MprisDBusMediaPlayer2Proxy

The PhoshMprisDBusMediaPlayer2Proxy structure contains only private data and should only be accessed using the provided API.

MprisDBusMediaPlayer2Skeleton

The PhoshMprisDBusMediaPlayer2Skeleton structure contains only private data and should only be accessed using the provided API.

NetworkAuthManager

Handles the interaction between networkmanager and the auth prompts.

Notification

A notification displayed to the user.

NotificationBanner

A floating notification.

NotificationContent

Content of a notification.

NotificationFrame

A frame containing one or more notifications.

NotificationList

A list containing one or more PhoshNotificationSource.

NotificationSource

A GListModel containing one or more notifications.

NotifyDBusNotificationsProxy

The PhoshNotifyDBusNotificationsProxy structure contains only private data and should only be accessed using the provided API.

NotifyDBusNotificationsSkeleton

The PhoshNotifyDBusNotificationsSkeleton structure contains only private data and should only be accessed using the provided API.

NotifyFeedback

Provide feedback on notifications.

NotifyManager

Manages notifications.

OsdWindow

A OSD Window.

Osk0SmPuriOSK0Proxy

The PhoshOsk0SmPuriOSK0Proxy structure contains only private data and should only be accessed using the provided API.

Osk0SmPuriOSK0Skeleton

The PhoshOsk0SmPuriOSK0Skeleton structure contains only private data and should only be accessed using the provided API.

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.

PasswordEntry

A widget for entering passwords.

since: 0.33.0

PluginLoader

Loads plugins for a given extension point.

since: 0.21.0

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 PhoshQuickSetting represents a state of an entity (like Wi-Fi, Bluetooth) using an icon and label. It should be added to a PhoshQuickSettingsBox for better integration.

QuickSettings

A widget to display quick-settings using PhoshQuickSettingsBox.

QuickSettingsBox

A PhoshQuickSettingsBox displays PhoshQuickSetting in a responsive grid.

Revealer

Reveals e.g. a PhoshStatusIcon in the PhoshTopPanel.

since: 0.25.0

RfkillDBusRfkillProxy

The PhoshRfkillDBusRfkillProxy structure contains only private data and should only be accessed using the provided API.

RfkillDBusRfkillSkeleton

The PhoshRfkillDBusRfkillSkeleton structure contains only private data and should only be accessed using the provided API.

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 PhoshSessionClientPrivateDBusClientPrivateProxy structure contains only private data and should only be accessed using the provided API.

SessionClientPrivateDBusClientPrivateSkeleton

The PhoshSessionClientPrivateDBusClientPrivateSkeleton structure contains only private data and should only be accessed using the provided API.

SessionManager

Session interaction.

SessionPresence

Interface with gnome-session’s Presence interface.

SessionPresenceDBusPresenceProxy

The PhoshSessionPresenceDBusPresenceProxy structure contains only private data and should only be accessed using the provided API.

SessionPresenceDBusPresenceSkeleton

The PhoshSessionPresenceDBusPresenceSkeleton structure contains only private data and should only be accessed using the provided API.

Shell

The shell singleton.

Splash

A splash screen.

SplashManager

Handles splash screens.

StatusIcon

Base class for status icons used in the Phosh’s top-bar or in PhoshQuickSettings. It’s very common to have the same status icon class used for both places.

StatusPage

Additional status information associated with a PhoshQuickSetting.

StatusPagePlaceholder

A placeholder in a PhoshStatusPage.

StyleManager

The style manager is responsible for picking style sheets and themes and notifying other parts of the shell about changes.

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 using the wlr-foreign-toplevel-unstable-v1 wayland protocol.

ToplevelThumbnail

Represents an image snapshot of PhoshToplevel obtained via phosh-private and wlr-screencopy Wayland protocols.

TopPanel

The top panel.

TopPanelBg

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.

WallClock

Wall clock used for fetching date and time.

Wayland

A wayland registry listener.

WidgetBox

A box of widgets for the lock screen.

WifiInfo

A widget to display the Wi-Fi status.

WifiManager

Tracks the Wi-Fi status and handle Wi-Fi credentials entry.

WifiNetwork

An object that represents a Wi-Fi network.

WifiNetworkRow

A widget to display a PhoshWifiNetwork.

WifiStatusPage

A widget to display list of Wi-Fi access points when the corresponding PhoshQuickSetting is activated.

WWanInfo

A widget to display the wwan status.

WWanManager

Base class for PhoshWWan interface implementations.

WWanMM

Implementation of the PhoshWWan interface for ModemManager.

since: 0.0.1

WWanOfono

Implementation of the PhoshWWan interface for Ofono.

since: 0.4.5

Interfaces

CallsDBusCallsCall

Abstract interface type for the D-Bus interface org.gnome.Calls.Call.

CallsDBusObject

The PhoshCallsDBusObject type is a specialized container of interfaces.

DBusColor

Abstract interface type for the D-Bus interface org.gnome.SettingsDaemon.Color.

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.

DBusOfonoManager

Abstract interface type for the D-Bus interface org.ofono.Manager.

DBusOfonoNetworkRegistration

Abstract interface type for the D-Bus interface org.ofono.NetworkRegistration.

DBusOfonoSimManager

Abstract interface type for the D-Bus interface org.ofono.SimManager.

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 PhoshIdleDBusObject type is a specialized container of interfaces.

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.

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

Implementations of the PhoshWWan interface handle modem interaction such as getting mobile network information and signal strength.

since: 0.0.1

Structs

Animation

BackgroundData

HeadMode

HeadStatePending

LogicalSize

MonitorMode

PhysicalSize

WlBuffer

A buffer received from the Wayland compositor containing image data.

Enumerations

AnimationType

The animation type of PhoshAnimationType.

AppGridButtonMode

Display mode of a PhoshAppGridButton.

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 PhoshHome.

LayoutClockPosition

LockscreenPage

Indicates which page is currently shown on the lockscreen.

LogoutAction

The requested action the PhoshEndSessionDialog should display. This matches the values of the DBus protocols ‘open’ request..

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

What is toggled when short pressing the rotation info quick setting.

RotationManagerMode

The mode of a PhoshRotationManager.

ShellLayout

How the shell’s UI elements are layed out.

TopPanelState

WWanBackend

Which WWAN backend to use.

Bitfields

AppFilterModeFlags

Controls what kind of app filtering is done.

ModeHwFlags

Attached external hardware.

NotifyScreenWakeupFlags

What notification properties trigger screen wakeup.

SessionManagerFlags

ShellActionMode

ShellDebugFlags

These flags are to enable/disable debugging features.

ShellKeyBindingFlags

ShellStateFlags

These flags are used to keep track of the state the PhoshShell is in.

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

gamma_table_fill

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

Register the system prompter.

system_prompter_unregister

trigger_feedback

Trigger feedback for the given event asynchronously.

util_append_to_strv

Append element to an array of strings.

util_data_uri_to_pixbuf

Converts a data URI to a GdkPixbuf.

util_escape_markup

Escapes the given markup either fully or (when allow_markup is TRUE) in a way that is suitable for a notification body.

util_file_equal

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_icon_by_wifi_strength

util_have_gnome_software

util_matches_app_info

util_open_settings_panel

Open the settings panel corresponding to the given name.

util_remove_from_strv

Remove all elements from a string array that match element.

util_toggle_style_class

Adds or removes the specified style class on the widget.

Function Macros

async_error_warn

Prints a warning when err is ‘real’ error. If it merely represents a canceled operation it just logs a debug message. This is useful to avoid this common pattern in async callbacks.

CALLS_DBUS_CALLS_CALL

CALLS_DBUS_CALLS_CALL_PROXY

CALLS_DBUS_CALLS_CALL_PROXY_CLASS

CALLS_DBUS_CALLS_CALL_SKELETON

CALLS_DBUS_CALLS_CALL_SKELETON_CLASS

CALLS_DBUS_OBJECT

CALLS_DBUS_OBJECT_MANAGER_CLIENT

CALLS_DBUS_OBJECT_MANAGER_CLIENT_CLASS

CALLS_DBUS_OBJECT_PROXY

CALLS_DBUS_OBJECT_PROXY_CLASS

CALLS_DBUS_OBJECT_SKELETON

CALLS_DBUS_OBJECT_SKELETON_CLASS

DBUS_COLOR

DBUS_COLOR_PROXY

DBUS_COLOR_PROXY_CLASS

DBUS_COLOR_SKELETON

DBUS_COLOR_SKELETON_CLASS

DBUS_DISPLAY_CONFIG

DBUS_DISPLAY_CONFIG_PROXY

DBUS_DISPLAY_CONFIG_PROXY_CLASS

DBUS_DISPLAY_CONFIG_SKELETON

DBUS_DISPLAY_CONFIG_SKELETON_CLASS

DBUS_END_SESSION_DIALOG

DBUS_END_SESSION_DIALOG_PROXY

DBUS_END_SESSION_DIALOG_PROXY_CLASS

DBUS_END_SESSION_DIALOG_SKELETON

DBUS_END_SESSION_DIALOG_SKELETON_CLASS

DBUS_GNOME_SHELL

DBUS_GNOME_SHELL_PROXY

DBUS_GNOME_SHELL_PROXY_CLASS

DBUS_GNOME_SHELL_SKELETON

DBUS_GNOME_SHELL_SKELETON_CLASS

DBUS_HOSTNAME1

DBUS_HOSTNAME1_PROXY

DBUS_HOSTNAME1_PROXY_CLASS

DBUS_HOSTNAME1_SKELETON

DBUS_HOSTNAME1_SKELETON_CLASS

DBUS_IMPL_PORTAL_ACCESS

DBUS_IMPL_PORTAL_ACCESS_PROXY

DBUS_IMPL_PORTAL_ACCESS_PROXY_CLASS

DBUS_IMPL_PORTAL_ACCESS_SKELETON

DBUS_IMPL_PORTAL_ACCESS_SKELETON_CLASS

DBUS_IMPL_PORTAL_REQUEST

DBUS_IMPL_PORTAL_REQUEST_PROXY

DBUS_IMPL_PORTAL_REQUEST_PROXY_CLASS

DBUS_IMPL_PORTAL_REQUEST_SKELETON

DBUS_IMPL_PORTAL_REQUEST_SKELETON_CLASS

DBUS_LOGIN_MANAGER

DBUS_LOGIN_MANAGER_PROXY

DBUS_LOGIN_MANAGER_PROXY_CLASS

DBUS_LOGIN_MANAGER_SKELETON

DBUS_LOGIN_MANAGER_SKELETON_CLASS

DBUS_LOGIN_SESSION

DBUS_LOGIN_SESSION_PROXY

DBUS_LOGIN_SESSION_PROXY_CLASS

DBUS_LOGIN_SESSION_SKELETON

DBUS_LOGIN_SESSION_SKELETON_CLASS

DBUS_MOUNT_OPERATION_HANDLER

DBUS_MOUNT_OPERATION_HANDLER_PROXY

DBUS_MOUNT_OPERATION_HANDLER_PROXY_CLASS

DBUS_MOUNT_OPERATION_HANDLER_SKELETON

DBUS_MOUNT_OPERATION_HANDLER_SKELETON_CLASS

DBUS_OFONO_MANAGER

DBUS_OFONO_MANAGER_PROXY

DBUS_OFONO_MANAGER_PROXY_CLASS

DBUS_OFONO_MANAGER_SKELETON

DBUS_OFONO_MANAGER_SKELETON_CLASS

DBUS_OFONO_NETWORK_REGISTRATION

DBUS_OFONO_NETWORK_REGISTRATION_PROXY

DBUS_OFONO_NETWORK_REGISTRATION_PROXY_CLASS

DBUS_OFONO_NETWORK_REGISTRATION_SKELETON

DBUS_OFONO_NETWORK_REGISTRATION_SKELETON_CLASS

DBUS_OFONO_SIM_MANAGER

DBUS_OFONO_SIM_MANAGER_PROXY

DBUS_OFONO_SIM_MANAGER_PROXY_CLASS

DBUS_OFONO_SIM_MANAGER_SKELETON

DBUS_OFONO_SIM_MANAGER_SKELETON_CLASS

DBUS_SCREEN_SAVER

DBUS_SCREEN_SAVER_PROXY

DBUS_SCREEN_SAVER_PROXY_CLASS

DBUS_SCREEN_SAVER_SKELETON

DBUS_SCREEN_SAVER_SKELETON_CLASS

DBUS_SCREENSHOT

DBUS_SCREENSHOT_PROXY

DBUS_SCREENSHOT_PROXY_CLASS

DBUS_SCREENSHOT_SKELETON

DBUS_SCREENSHOT_SKELETON_CLASS

DBUS_SENSOR_PROXY

DBUS_SENSOR_PROXY_COMPASS

DBUS_SENSOR_PROXY_COMPASS_PROXY

DBUS_SENSOR_PROXY_COMPASS_PROXY_CLASS

DBUS_SENSOR_PROXY_COMPASS_SKELETON

DBUS_SENSOR_PROXY_COMPASS_SKELETON_CLASS

DBUS_SENSOR_PROXY_PROXY

DBUS_SENSOR_PROXY_PROXY_CLASS

DBUS_SENSOR_PROXY_SKELETON

DBUS_SENSOR_PROXY_SKELETON_CLASS

dbus_service_error_warn

Prints a warning when err is ‘real’ error. If it merely indicates that the DBus service is not present at all it just logs a debug message.

DBUS_SESSION_MANAGER

DBUS_SESSION_MANAGER_PROXY

DBUS_SESSION_MANAGER_PROXY_CLASS

DBUS_SESSION_MANAGER_SKELETON

DBUS_SESSION_MANAGER_SKELETON_CLASS

GEO_CLUE_DBUS_MANAGER

GEO_CLUE_DBUS_MANAGER_PROXY

GEO_CLUE_DBUS_MANAGER_PROXY_CLASS

GEO_CLUE_DBUS_MANAGER_SKELETON

GEO_CLUE_DBUS_MANAGER_SKELETON_CLASS

GEO_CLUE_DBUS_ORG_FREEDESKTOP_GEO_CLUE2_AGENT

GEO_CLUE_DBUS_ORG_FREEDESKTOP_GEO_CLUE2_AGENT_PROXY

GEO_CLUE_DBUS_ORG_FREEDESKTOP_GEO_CLUE2_AGENT_PROXY_CLASS

GEO_CLUE_DBUS_ORG_FREEDESKTOP_GEO_CLUE2_AGENT_SKELETON

GEO_CLUE_DBUS_ORG_FREEDESKTOP_GEO_CLUE2_AGENT_SKELETON_CLASS

IDLE_DBUS_IDLE_MONITOR

IDLE_DBUS_IDLE_MONITOR_PROXY

IDLE_DBUS_IDLE_MONITOR_PROXY_CLASS

IDLE_DBUS_IDLE_MONITOR_SKELETON

IDLE_DBUS_IDLE_MONITOR_SKELETON_CLASS

IDLE_DBUS_OBJECT

IDLE_DBUS_OBJECT_MANAGER_CLIENT

IDLE_DBUS_OBJECT_MANAGER_CLIENT_CLASS

IDLE_DBUS_OBJECT_PROXY

IDLE_DBUS_OBJECT_PROXY_CLASS

IDLE_DBUS_OBJECT_SKELETON

IDLE_DBUS_OBJECT_SKELETON_CLASS

MPRIS_DBUS_MEDIA_PLAYER2

MPRIS_DBUS_MEDIA_PLAYER2_PLAYER

MPRIS_DBUS_MEDIA_PLAYER2_PLAYER_PROXY

MPRIS_DBUS_MEDIA_PLAYER2_PLAYER_PROXY_CLASS

MPRIS_DBUS_MEDIA_PLAYER2_PLAYER_SKELETON

MPRIS_DBUS_MEDIA_PLAYER2_PLAYER_SKELETON_CLASS

MPRIS_DBUS_MEDIA_PLAYER2_PROXY

MPRIS_DBUS_MEDIA_PLAYER2_PROXY_CLASS

MPRIS_DBUS_MEDIA_PLAYER2_SKELETON

MPRIS_DBUS_MEDIA_PLAYER2_SKELETON_CLASS

NOTIFY_DBUS_NOTIFICATIONS

NOTIFY_DBUS_NOTIFICATIONS_PROXY

NOTIFY_DBUS_NOTIFICATIONS_PROXY_CLASS

NOTIFY_DBUS_NOTIFICATIONS_SKELETON

NOTIFY_DBUS_NOTIFICATIONS_SKELETON_CLASS

OSK0_SM_PURI_OSK0

OSK0_SM_PURI_OSK0_PROXY

OSK0_SM_PURI_OSK0_PROXY_CLASS

OSK0_SM_PURI_OSK0_SKELETON

OSK0_SM_PURI_OSK0_SKELETON_CLASS

RFKILL_DBUS_RFKILL

RFKILL_DBUS_RFKILL_PROXY

RFKILL_DBUS_RFKILL_PROXY_CLASS

RFKILL_DBUS_RFKILL_SKELETON

RFKILL_DBUS_RFKILL_SKELETON_CLASS

SESSION_CLIENT_PRIVATE_DBUS_CLIENT_PRIVATE

SESSION_CLIENT_PRIVATE_DBUS_CLIENT_PRIVATE_PROXY

SESSION_CLIENT_PRIVATE_DBUS_CLIENT_PRIVATE_PROXY_CLASS

SESSION_CLIENT_PRIVATE_DBUS_CLIENT_PRIVATE_SKELETON

SESSION_CLIENT_PRIVATE_DBUS_CLIENT_PRIVATE_SKELETON_CLASS

SESSION_PRESENCE_DBUS_PRESENCE

SESSION_PRESENCE_DBUS_PRESENCE_PROXY

SESSION_PRESENCE_DBUS_PRESENCE_PROXY_CLASS

SESSION_PRESENCE_DBUS_PRESENCE_SKELETON

SESSION_PRESENCE_DBUS_PRESENCE_SKELETON_CLASS