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 _getGType() static nothrow
GType _gType() @property nothrow
EmblemedIcon self() nothrowReturns `this`, for use in `with` statements.
EmblemedIconGidBuilder builder() static nothrowGet builder for [gio.emblemed_icon.EmblemedIcon] Returns: New builder object
gio.icon.Icon gicon() @property nothrowGet `gicon` property. Returns: The [gio.icon.Icon] to attach emblems to.
void addEmblem(gio.emblem.Emblem emblem) nothrowAdds emblem to the #GList of #GEmblems.
void clearEmblems() nothrowRemoves all the emblems from icon.
gio.emblem.Emblem[] getEmblems() nothrowGets the list of emblems for the icon. Returns: a #GList of #GEmblems that is owned by emblemed
gio.icon.Icon getIcon() nothrowGets 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) nothrowSet `gicon` property. Params: propval = The [gio.icon.Icon] to attach emblems to. Returns: Builder instance for fluent chaining
Methods
EmblemedIcon build() nothrowCreate object from builder. Returns: New object