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
EmblemedIcon self()Returns `this`, for use in `with` statements.EmblemedIconGidBuilder builder()Get builder for [gio.emblemed_icon.EmblemedIcon] Returns: New builder objectgio.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 emblemedgio.icon.Icon getIcon()Gets 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)Set `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
EmblemedIcon build()Create object from builder. Returns: New object