You are not logged in.
Pages: 1
It seems like every function in XfceIconTheme is deprecated. What should I use instead?
Offline
Better use pixbuf loading from gtk/gdk.
Offline
Ok, thanks.
Offline
But gdk_pixbuf_new_from_file() requires the full path.
Offline
If you need a themed generic icon, do something like:
pixbuf = gtk_icon_theme_load_icon(theme,
"gnome-media-player",
icon_size,
0,
NULL);
lookup the names under /usr/share/pixmaps or icons
Also you can use themed gtk stock icons:
pixbuf = gtk_image_new_from_stock(
GTK_STOCK_MEDIA_PLAY, GTK_ICON_SIZE_BUTTON);
hth,
herd
Offline
Pages: 1
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 524.63 KiB (Peak: 529.85 KiB) ]