Class

GioEmblemedIcon

Description [src]

class Gio.EmblemedIcon : GObject.Object {
  parent_instance: GObject
}

GEmblemedIcon is an implementation of GIcon that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via g_emblemed_icon_add_emblem().

Note that GEmblemedIcon allows no control over the position of the emblems. See also GEmblem for more information.

Hierarchy

hierarchy this GEmblemedIcon implements_0 GIcon this--implements_0 ancestor_0 GObject ancestor_0--this

Ancestors

Implements

Constructors

g_emblemed_icon_new

Creates a new emblemed icon for icon with the emblem emblem.

Available since: 2.18

Instance methods

g_emblemed_icon_add_emblem

Adds emblem to the GList of GEmblems.

Available since: 2.18

g_emblemed_icon_clear_emblems

Removes all the emblems from icon.

Available since: 2.28

g_emblemed_icon_get_emblems

Gets the list of emblems for the icon.

Available since: 2.18

g_emblemed_icon_get_icon

Gets the main icon for emblemed.

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.EmblemedIcon:gicon
No description available.

Signals

Signals inherited from GObject (1)

Class structure

struct GioEmblemedIconClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.