Namespace

Shell – 14

Shell

Version14
AuthorsUnknown authors
LicenseGPL-2.0-or-later
Websitehttps://www.gnome.org
Sourcehttps://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

Structs

Enumerations

AppLaunchGpu

AppState

BlurMode

The mode of blurring of the effect.

NetworkAgentResponse

SnippetHook

Temporary hack to work around Cogl not exporting CoglSnippetHook in the 1.0 API. Don’t use.

Bitfields

ActionMode

Controls in which GNOME Shell states an action (like keybindings and gestures) should be handled.

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.

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.

util_create_pixbuf_from_data

Workaround for non-introspectability of gdk_pixbuf_from_data().

util_get_translated_folder_name

Attempts to translate the folder name using translations provided by .directory files.

util_get_uid

A wrapper around getuid() so that it can be used from JavaScript. This function will always succeed.

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.

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.

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.

util_sd_notify

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.

util_start_systemd_unit

util_start_systemd_unit_finish

util_stop_systemd_unit

util_stop_systemd_unit_finish

util_systemd_unit_exists

util_systemd_unit_exists_finish

util_touch_file_async

util_touch_file_finish

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.

util_wifexited

Implements libc standard WIFEXITED, that cannot be used JS code.

write_string_to_stream

Write a string to a GOutputStream as UTF-8. This is a workaround for not having binary buffers in GJS.