- stock_id
- A stock ID.
- size
- A stock size.
- detail
- Render detail to pass to theme engine.
A new Gdk.Pixbuf, or null if the stock_id wasn't known.
The stock_id should be a stock icon ID such as Stock.Open or Stock.Ok. size should be a size such as IconSize.Menu. detail should be a string that identifies the widget or code doing the rendering, so that theme engines can special-case rendering for that widget or code.
The pixels in the returned Gdk.Pixbuf are shared with the rest of the application and should not be modified. The Gdk.Pixbuf should be freed after use with Glib.Object.Unref.