Class: Gtk::NumerableIcon
- Inherits:
-
Object
- Object
- Gtk::NumerableIcon
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#background_gicon ⇒ Gio::Icon
Returns the #GIcon that was set as the base background image, or nil if there’s none.
-
#background_gicon=(icon) ⇒ nil
Updates the icon to use icon as the base background image.
-
#background_icon ⇒ Gio::Icon
Background-icon.
- #background_icon=(background_icon) ⇒ Gio::Icon
-
#background_icon_name ⇒ String
Background-icon-name.
- #background_icon_name=(background_icon_name) ⇒ String
-
#count ⇒ Integer
Count.
- #count=(count) ⇒ Integer
-
#label ⇒ String
Label.
- #label=(label) ⇒ String
-
#style_context ⇒ Gtk::StyleContext
Style-context.
- #style_context=(style_context) ⇒ Gtk::StyleContext
Instance Method Details
#background_gicon ⇒ Gio::Icon
Returns the #GIcon that was set as the base background image, or nil if there’s none. The caller of this function does not own a reference to the returned #GIcon.
#background_gicon=(icon) ⇒ nil
Updates the icon to use icon as the base background image. If icon is nil, self will go back using style information or default theming for its background image.
If this method is called and an icon name was already set as background for the icon, icon will be used, i.e. the last method called between gtk_numerable_icon_set_background_gicon() and gtk_numerable_icon_set_background_icon_name() has always priority.
#background_icon ⇒ Gio::Icon
Returns background-icon.
#background_icon=(background_icon) ⇒ Gio::Icon
#background_icon_name ⇒ String
Returns background-icon-name.
#background_icon_name=(background_icon_name) ⇒ String
#count ⇒ Integer
Returns count.
#count=(count) ⇒ Integer
#label ⇒ String
Returns label.
#label=(label) ⇒ String
#style_context ⇒ Gtk::StyleContext
Returns style-context.