Understanding Icon Paths * nix

Can someone explain why many programs have their icon paths as follows: / usr / share / program / icons / hicolor / 16x16 / ...

I do not understand why hicolor and why 16x16, 32x32 , etc.

Are there any functions (e.g. in GTK) that automatically get the correct icon from such paths?

Thank!

+5
source share
3 answers

"" . , hicolor ( , , , hicolor.)

, , , , , 37x37, (, 32x32) .

- , , - , , , - , hicolor.

, , . GTK , const gchar *icon_name, gtk_image_new_from_icon_name(). , , , hicolor.

+11

"hicolor" - , , , (, /usr/share/icons/oxygen), hicolor .

16x16, 32x32 , , PNG, ( , ,.icns mac).

+2

"" hicolor "?" , " ?" , unix ( ) , 1000 .

.

Some more modern file systems support O (log N) lookups and can efficiently handle higher rates.

0
source

All Articles