Hi!
I was looking for a non-hackish way of creating a GdkPixbuf object
out of stock icon. The first thing that comes to mind is:
--CODE SNIPPET BEGIN--
image = gtk_image_new_from_stock (stock_id, size);
pixbuf = gtk_image_get_pixbuf (image);
---
Hi!
> Not so obviously. The primary difficulty is that your
> problem is ill-posed. The stock icon look is affected by
> theme, state and whatnot. It can even differ for different
> widgets.
I know that and that is why i only using the stock icons where the
change of actual icon image doesn
On Sat, Sep 22, 2007 at 03:17:51PM +0300, Zeeshan Ali wrote:
> I was looking for a non-hackish way of creating a GdkPixbuf object
> out of stock icon. The first thing that comes to mind is:
>
> --CODE SNIPPET BEGIN--
>
> image = gtk_image_new_from_stock (stoc
Hi!
I was looking for a non-hackish way of creating a GdkPixbuf object
out of stock icon. The first thing that comes to mind is:
--CODE SNIPPET BEGIN--
image = gtk_image_new_from_stock (stock_id, size);
pixbuf = gtk_image_get_pixbuf (image);