gio.emblemed_icon

Module for EmblemedIcon class

Types 3

gio.emblemed_icon.EmblemedIcon is an implementation of gio.icon.Icon that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via gio.emblemed_icon.EmblemedIcon.addEmblem.

Note that gio.emblemed_icon.EmblemedIcon allows no control over the position of the emblems. See also gio.emblem.Emblem for more information.

Methods
GType _gType() @property
EmblemedIcon self()Returns `this`, for use in `with` statements.
EmblemedIconGidBuilder builder()Get builder for [gio.emblemed_icon.EmblemedIcon] Returns: New builder object
gio.icon.Icon gicon() @propertyGet `gicon` property. Returns: The [gio.icon.Icon] to attach emblems to.
void addEmblem(gio.emblem.Emblem emblem)Adds emblem to the #GList of #GEmblems.
void clearEmblems()Removes all the emblems from icon.
gio.emblem.Emblem[] getEmblems()Gets the list of emblems for the icon. Returns: a #GList of #GEmblems that is owned by emblemed
gio.icon.Icon getIcon()Gets the main icon for emblemed. Returns: a #GIcon that is owned by emblemed
Constructors
this(void * ptr, Flag!"Take" take)
this(gio.icon.Icon icon, gio.emblem.Emblem emblem = null)Creates a new emblemed icon for icon with the emblem emblem.

Fluent builder implementation template for gio.emblemed_icon.EmblemedIcon

Methods
T gicon(gio.icon.Icon propval)Set `gicon` property. Params: propval = The [gio.icon.Icon] to attach emblems to. Returns: Builder instance for fluent chaining
Methods
EmblemedIcon build()Create object from builder. Returns: New object