Namespace

MateDesktop – 2.0

Library with common API for various MATE modules

Version1.29.2
AuthorsThe MATE Team
LicenseLGPL-2.0-or-later
Websitehttps://mate-desktop.org/
Sourcehttps://github.com/mate-desktop/mate-desktop

Build

pkg-config filesmate-desktop-2.0

Dependencies

GLib—2.0 General-purpose utility library
Browse documentation
GObject—2.0 The base type system library
Browse documentation
GdkPixbuf—2.0 Image loading and scaling
Browse documentation
Pango—1.0 Text shaping and rendering
Browse documentation

Additional documentation

Classes

BG

unstable since: 2.0

BGCrossfade

unstable since: 2.0

ColorSelection

unstable since: 2.0

ColorSelectionDialog

unstable since: 2.0

DesktopThumbnailFactory

unstable since: 2.0

HSV

unstable since: 2.0

ImageMenuItem

unstable since: 2.0

RRConfig

unstable since: 2.0

RRLabeler

unstable since: 2.0

RROutputInfo

unstable since: 2.0

RRScreen

unstable since: 2.0

Structs

DesktopItem

unstable since: 2.0

RRCrtc

unstable since: 2.0

RRMode

unstable since: 2.0

RROutput

unstable since: 2.0

Enumerations

BGColorType

unstable since: 2.0

BGPlacement

unstable since: 2.0

DesktopItemStatus

unstable since: 2.0

DesktopItemType

unstable since: 2.0

DesktopThumbnailSize

unstable since: 2.0

Bitfields

DesktopItemIconFlags

unstable since: 2.0

DesktopItemLaunchFlags

unstable since: 2.0

DesktopItemLoadFlags

unstable since: 2.0

RRRotation

unstable since: 2.0

Error Domains

DesktopItemError

unstable since: 2.0

RRError

unstable since: 2.0

Callbacks

Functions

dconf_list_subdirs

Returns the list of subdirectories of the given dconf directory.

since: 1.7.1

dconf_recursive_reset

Allow to reset a dconf path.

since: 1.7.1

dconf_sync

Ensure dconf daemon syncs the written values.

since: 1.7.1

dconf_write_sync

Allow to write a value to dconf.

since: 1.7.1

desktop_gtk_style_get_dark_color

unstable since: 2.0

desktop_gtk_style_get_light_color

unstable since: 2.0

desktop_prepend_terminal_to_vector

Prepends a terminal (either the one configured as default in the user’s MATE setup, or one of the common xterm emulators) to the passed in vector, modifying it in the process. The vector should be allocated with #g_malloc, as this will #g_free the original vector. Also all elements must have been allocated separately. That is the standard glib/MATE way of doing vectors however. If the integer that argc points to is negative, the size will first be computed. Also note that passing in pointers to a vector that is empty, will just create a new vector for you.

unstable since: 2.0

desktop_thumbnail_has_uri

Returns whether the thumbnail has the correct uri embedded in the Thumb::URI option in the png.

unstable since: 2.2

desktop_thumbnail_is_valid

Returns whether the thumbnail has the correct uri and mtime embedded in the png options.

unstable since: 2.2

desktop_thumbnail_path_for_uri

Returns the filename that a thumbnail of size size for uri would have.

unstable since: 2.2

gdk_spawn_command_line_on_screen

This is a replacement for gdk_spawn_command_line_on_screen, deprecated in GDK 2.24 and removed in GDK 3.0.

since: 1.7.1

get_all_locales

Gets all locales.

since: 1.22

get_country_from_code

Gets the country name for code. If locale is provided the returned string is translated accordingly.

since: 1.22

get_country_from_locale

Gets the country description for locale. If translation is provided the returned string is translated accordingly.

since: 1.22

get_language_from_code

Gets the language name for code. If locale is provided the returned string is translated accordingly.

since: 1.22

get_language_from_locale

Gets the language description for locale. If translation is provided the returned string is translated accordingly.

since: 1.22

gsettings_append_strv

unstable since: 2.0

gsettings_is_valid_keyname

unstable since: 2.0

gsettings_remove_all_from_strv

unstable since: 2.0

gsettings_schema_exists

Check if a given schema is installed in GSettings.

since: 1.7.1

gsettings_strv_to_gslist

unstable since: 2.0

language_has_translations

Returns TRUE if there are translations for language code.

since: 1.22

normalize_locale

Gets the normalized locale string in the form [language[_country][.codeset][modifier]] for name.

since: 1.22

parse_locale

Extracts the various components of a locale string of the form [language[_country][.codeset][modifier]]. See http://en.wikipedia.org/wiki/Locale.

since: 1.22

rr_error_quark

Returns the GQuark that will be used for GError values returned by the MateRR API.

unstable since: 2.0

start_systemd_scope

If the current process is running inside a user systemd instance, then move the launched PID into a transient scope. The given name will be used to create a unit name. It should be the application ID or the executable in all other cases. If a desktop-id is passed then the .desktop suffix will be stripped.

unstable since: 2.0

start_systemd_scope_finish

Finish an asynchronous operation to create a transient scope that was started with mate_start_systemd_scope().

unstable since: 2.0

Function Macros

DESKTOP_CHECK_VERSION

unstable since: 2.0

desktop_item_clear_attr

unstable since: 2.0

HSV_CLASS

unstable since: 2.0

Constants

BG_KEY_BACKGROUND_FADE

unstable since: 2.0

BG_KEY_COLOR_TYPE

unstable since: 2.0

BG_KEY_DRAW_BACKGROUND

unstable since: 2.0

BG_KEY_PICTURE_FILENAME

unstable since: 2.0

BG_KEY_PICTURE_OPACITY

unstable since: 2.0

BG_KEY_PICTURE_PLACEMENT

unstable since: 2.0

BG_KEY_PRIMARY_COLOR

unstable since: 2.0

BG_KEY_SECONDARY_COLOR

unstable since: 2.0

BG_KEY_SHOW_DESKTOP

unstable since: 2.0

BG_SCHEMA

unstable since: 2.0

DESKTOP_ITEM_ACTIONS

unstable since: 2.0

DESKTOP_ITEM_CATEGORIES

unstable since: 2.0

DESKTOP_ITEM_COMMENT

unstable since: 2.0

DESKTOP_ITEM_DEFAULT_APP

unstable since: 2.0

DESKTOP_ITEM_DEV

unstable since: 2.0

DESKTOP_ITEM_DOC_PATH

unstable since: 2.0

DESKTOP_ITEM_ENCODING

unstable since: 2.0

DESKTOP_ITEM_EXEC

unstable since: 2.0

DESKTOP_ITEM_FILE_PATTERN

unstable since: 2.0

DESKTOP_ITEM_FS_TYPE

unstable since: 2.0

DESKTOP_ITEM_GENERIC_NAME

unstable since: 2.0

DESKTOP_ITEM_HIDDEN

unstable since: 2.0

DESKTOP_ITEM_ICON

unstable since: 2.0

DESKTOP_ITEM_MIME_TYPE

unstable since: 2.0

DESKTOP_ITEM_MINI_ICON

unstable since: 2.0

DESKTOP_ITEM_MOUNT_POINT

unstable since: 2.0

DESKTOP_ITEM_NAME

unstable since: 2.0

DESKTOP_ITEM_NO_DISPLAY

unstable since: 2.0

DESKTOP_ITEM_ONLY_SHOW_IN

unstable since: 2.0

DESKTOP_ITEM_PATH

unstable since: 2.0

DESKTOP_ITEM_PATTERNS

unstable since: 2.0

DESKTOP_ITEM_READ_ONLY

unstable since: 2.0

DESKTOP_ITEM_SORT_ORDER

unstable since: 2.0

DESKTOP_ITEM_SWALLOW_EXEC

unstable since: 2.0

DESKTOP_ITEM_SWALLOW_TITLE

unstable since: 2.0

DESKTOP_ITEM_TERMINAL

unstable since: 2.0

DESKTOP_ITEM_TERMINAL_OPTIONS

unstable since: 2.0

DESKTOP_ITEM_TRY_EXEC

unstable since: 2.0

DESKTOP_ITEM_TYPE

unstable since: 2.0

DESKTOP_ITEM_UNMOUNT_ICON

unstable since: 2.0

DESKTOP_ITEM_URL

unstable since: 2.0

DESKTOP_ITEM_VERSION

unstable since: 2.0

DESKTOP_VERSION

unstable since: 2.0

RR_CONNECTOR_TYPE_PANEL

unstable since: 2.0