Returns the #GIcon that was set as the base background image, or null if there’s none. The caller of this function does not own a reference to the returned #GIcon.
Returns the icon name used as the base background image, or null if there’s none.
Returns the value currently displayed by self.
Returns the currently displayed label of the icon, or null.
Returns the #GtkStyleContext used by the icon for theming, or null if there’s none.
Returns this, for use in with statements.
Updates the icon to use icon as the base background image. If icon is null, self will go back using style information or default theming for its background image.
Updates the icon to use the icon named icon_name from the current icon theme as the base background image. If icon_name is null, self will go back using style information or default theming for its background image.
Sets the currently displayed value of self to count.
Sets the currently displayed value of self to the string in label. Setting an empty label removes the emblem.
Updates the icon to fetch theme information from the given #GtkStyleContext.
Get builder for gtk.numerable_icon.NumerableIcon
Creates a new #GtkNumerableIcon which will themed according to the passed #GtkStyleContext. This is a convenience constructor that calls gtk.numerable_icon.NumerableIcon.setStyleContext internally.
Creates a new unthemed #GtkNumerableIcon.
Returns this, for use in with statements.
Get builder for gio.emblemed_icon.EmblemedIcon
Get gicon property.
Adds emblem to the #GList of #GEmblems.
Removes all the emblems from icon.
Gets the list of emblems for the icon.
Gets the main icon for emblemed.
GtkNumerableIcon is a subclass of #GEmblemedIcon that can show a number or short string as an emblem. The number can be overlayed on top of another emblem, if desired.
It supports theming by taking font and color information from a provided #GtkStyleContext; see gtk.numerable_icon.NumerableIcon.setStyleContext.
Typical numerable icons: