Package: gio

Class g-themed-icon

Superclasses

g-icon, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

name
The name property of type :string (Write / Construct Only)
The icon name.
Default value: nil
names
The names property of type g-strv (Read / Write / Construct Only)
A list of strings with the icon names.
use-default-fallbacks
The use-default-fallbacks property of type :boolean (Read / Write / Construct Only)
Whether to use the default fallbacks found by shortening the icon name at '-' characters. If the names list has more than one element, ignores any past the first. For example, if the icon name was "gnome-dev-cdrom-audio", the list would become
'("gnome-dev-cdrom-audio"
  "gnome-dev-cdrom"
  "gnome-dev"
  "gnome")  
Default value: nil

Details

The g-themed-icon class is an implementation of the g-icon interface that supports icon themes. The g-themed-icon class contains a list of all of the icons present in an icon theme, so that icons can be looked up quickly. The g-themed-icon class does not provide actual pixmaps for icons, just the icon names. Ideally something like the function gtk-icon-theme-choose-icon should be used to resolve the list of names so that fallback icons work nicely with themes that inherit other themes.
 

Slot Access Functions

Inherited Slot Access Functions

See also

*2021-4-27