Quick question about stock icons...

2006-10-12 Thread Freddie Unpenstein
When creating a GtkImage from a stock icon, you need to tell it the size of the image to create, as one of the GTK_ICON_SIZE_* constants. What I want is to find out programatically, how large those sizes are in pixels. The reason: I've got a function which takes either a stock icon id, or a

Re: Quick question about stock icons...

2006-10-12 Thread Yeti
On Thu, Oct 12, 2006 at 04:22:55AM -0400, Freddie Unpenstein wrote: When creating a GtkImage from a stock icon, you need to tell it the size of the image to create, as one of the GTK_ICON_SIZE_* constants. What I want is to find out programatically, how large those sizes are in pixels.