Class

GioEmblem

Description [src]

final class Gio.Emblem : GObject.Object {
  /* No available fields */
}

GEmblem is an implementation of GIcon that supports having an emblem, which is an icon with additional properties. It can than be added to a GEmblemedIcon.

Currently, only metainformation about the emblem’s origin is supported. More may be added in the future.

Hierarchy

hierarchy this GEmblem implements_0 GIcon this--implements_0 ancestor_0 GObject ancestor_0--this

Ancestors

Implements

Constructors

g_emblem_new

Creates a new emblem for icon.

Available since: 2.18

g_emblem_new_with_origin

Creates a new emblem for icon.

Available since: 2.18

Instance methods

g_emblem_get_icon

Gives back the icon from emblem.

Available since: 2.18

g_emblem_get_origin

Gets the origin of the emblem.

Available since: 2.18

Methods inherited from GObject (43)
Methods inherited from GIcon (3)
g_icon_equal

Checks if two icons are equal.

g_icon_serialize

Serializes a GIcon into a GVariant. An equivalent GIcon can be retrieved back by calling g_icon_deserialize() on the returned value. As serialization will avoid using raw icon data when possible, it only makes sense to transfer the GVariant between processes on the same machine, (as opposed to over the network), and within the same file system namespace.

Available since: 2.38

g_icon_to_string

Generates a textual representation of icon that can be used for serialization such as when passing icon to a different process or saving it to persistent storage. Use g_icon_new_for_string() to get icon back from the returned string.

Available since: 2.20

Properties

Gio.Emblem:icon
No description available.
Gio.Emblem:origin
No description available.

Signals

Signals inherited from GObject (1)

Class structure

struct GioEmblemClass {
  /* no available fields */
}