### Namespace

# Shell – 14

Shell

Version | 14
Authors | Unknown authors
License | GPL-2.0-or-later
Website | https://www.gnome.org
Source | https://gitlab.gnome.org/GNOME/gnome-shell/

#### Dependencies

GObject—2.0 | The base type system library
| Browse documentation
Gio—2.0 | GObject Interfaces and Objects, Networking, IPC, and I/O
| Browse documentation
Clutter—14 | An OpenGL based 'interactive canvas' library
| Browse documentation
Meta—14 | The mutter display server, window manager and compositor library
| Browse documentation

#### Additional documentation

- Classes Hierarchy

#### Classes

App | since: 14
AppSystem | since: 14
AppUsage | since: 14
BlurEffect | since: 14
CameraMonitor | since: 14
Global | since: 14
GLSLEffect | since: 14
InvertLightnessEffect | since: 14
KeyringPrompt | since: 14
MountOperation | since: 14
NetworkAgent | since: 14
PerfLog | since: 14
PolkitAuthenticationAgent | since: 14
Screenshot | since: 14
SecureTextBuffer | since: 14
SquareBin | since: 14
Stack | since: 14
TrayIcon | since: 14
TrayManager | since: 14
WindowPreview | since: 14
WindowPreviewLayout | since: 14
WindowTracker | since: 14
WM | since: 14
WorkspaceBackground | since: 14

#### Structs

MemoryInfo | since: 14

#### Enumerations

AppLaunchGpu | since: 14
AppState | since: 14
BlurMode | The mode of blurring of the effect. since: 14
NetworkAgentResponse | since: 14
SnippetHook | Temporary hack to work around Cogl not exporting CoglSnippetHook in the 1.0 API. Don’t use. since: 14

#### Bitfields

ActionMode | Controls in which GNOME Shell states an action (like keybindings and gestures) should be handled. since: 14

#### Callbacks

LeisureFunction | since: 14
PerfReplayFunction | since: 14
PerfStatisticsCallback | since: 14

#### Functions

get_file_contents_utf8_sync | Synchronously load the contents of a file as a NUL terminated string, validating it as UTF-8. Embedded NUL characters count as invalid content. since: 14
util_check_cloexec_fds | Walk over all open file descriptors. Check them for the FD_CLOEXEC flag. If this flag is not set, log the offending file descriptor number. since: 14
util_create_pixbuf_from_data | Workaround for non-introspectability of gdk_pixbuf_from_data(). since: 14
util_get_translated_folder_name | Attempts to translate the folder `name` using translations provided by .directory files. since: 14
util_get_uid | A wrapper around `getuid()` so that it can be used from JavaScript. This function will always succeed. since: 14
util_get_week_start | Gets the first week day for the current locale, expressed as a number in the range 0..6, representing week days from Sunday to Saturday. since: 14
util_has_x11_display_extension | If the corresponding X11 display provides the passed extension, return `TRUE`, otherwise `FALSE`. If there is no X11 display, `FALSE` is passed. since: 14
util_regex_escape | A wrapper around `g_regex_escape_string()` that takes its argument as \0-terminated string rather than a byte-array that confuses gjs. since: 14
util_sd_notify | since: 14
util_set_hidden_from_pick | If `hidden` is `TRUE`, hide `actor` from pick even with a mode of `CLUTTER_PICK_ALL`; if `hidden` is `FALSE`, unhide `actor`. since: 14
util_start_systemd_unit | since: 14
util_start_systemd_unit_finish | since: 14
util_stop_systemd_unit | since: 14
util_stop_systemd_unit_finish | since: 14
util_systemd_unit_exists | since: 14
util_systemd_unit_exists_finish | since: 14
util_touch_file_async | since: 14
util_touch_file_finish | since: 14
util_translate_time_string | Translate `str` according to the locale defined by LC_TIME; unlike dcgettext(), the translations is still taken from the LC_MESSAGES catalogue and not the LC_TIME one. since: 14
util_wifexited | Implements libc standard WIFEXITED, that cannot be used JS code. since: 14
write_string_to_stream | Write a string to a GOutputStream as UTF-8. This is a workaround for not having binary buffers in GJS. since: 14

#### Constants

KEYRING_SK_TAG | since: 14
KEYRING_SN_TAG | since: 14
KEYRING_UUID_TAG | since: 14