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
EmblemedIconGidBuilder builder() static nothrowGet builder for [gio.emblemed_icon.EmblemedIcon] Returns: New builder objectgio.icon.Icon gicon() @property nothrowGet `gicon` property. Returns: The [gio.icon.Icon] to attach emblems to.gio.emblem.Emblem[] getEmblems() nothrowGets the list of emblems for the icon. Returns: a #GList of #GEmblems that is owned by emblemedgio.icon.Icon getIcon() nothrowGets the main icon for emblemed. Returns: a #GIcon that is owned by emblemedConstructors
this(gio.icon.Icon icon, gio.emblem.Emblem emblem = null)Creates a new emblemed icon for icon with the emblem emblem.classEmblemedIconGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.icon.IconGidBuilderImpl!T
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 chainingFluent builder for gio.emblemed_icon.EmblemedIcon
Methods