Class: Gtk::NumerableIcon

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#background_giconGio::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.

Returns:

#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.

Parameters:

Returns:

  • (nil)

#background_iconGio::Icon

Returns background-icon.

Returns:

#background_icon=(background_icon) ⇒ Gio::Icon

Parameters:

Returns:

#background_icon_nameString

Returns background-icon-name.

Returns:

  • (String)

    background-icon-name

#background_icon_name=(background_icon_name) ⇒ String

Parameters:

  • background_icon_name (String)

Returns:

  • (String)

    background-icon-name

  • (String)

    background-icon-name

#countInteger

Returns count.

Returns:

  • (Integer)

    count

#count=(count) ⇒ Integer

Parameters:

  • count (Integer)

Returns:

  • (Integer)

    count

  • (Integer)

    count

#labelString

Returns label.

Returns:

  • (String)

    label

#label=(label) ⇒ String

Parameters:

  • label (String)

Returns:

  • (String)

    label

  • (String)

    label

#style_contextGtk::StyleContext

Returns style-context.

Returns:

#style_context=(style_context) ⇒ Gtk::StyleContext

Parameters:

Returns: