diff options
author | Kristian Rietveld <kris@gtk.org> | 2002-04-22 17:22:03 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2002-04-22 17:22:03 +0000 |
commit | 226b671bc1185f0b3cc69a3ba22253b55815071a (patch) | |
tree | 6999ca01a7eeaeb5f6e5c1a386c3c9d9e78ff1ec /gtk/gtkcellrendererpixbuf.h | |
parent | b78fa7ae04918be2f0ae1cfc1917c71923515fb9 (diff) | |
download | gtk+-226b671bc1185f0b3cc69a3ba22253b55815071a.tar.gz |
This commit adds stock icon functionality to GtkCellRendererPixbuf which
Mon Apr 22 19:24:29 2002 Kristian Rietveld <kris@gtk.org>
This commit adds stock icon functionality to GtkCellRendererPixbuf
which is totally cool.
* gtk/gtkcellrendererpixbuf.h: add some fields
* gtk/gtkcellrendererpixbuf.c: add finalize method, add some
properties, add some stock icon rendering code.
* demos/gtk-demo/stock_browser.c: modified to use the stock
icon stuff in the cellrendererpixbuf instead of its own stock icon
rendering code.
Diffstat (limited to 'gtk/gtkcellrendererpixbuf.h')
-rw-r--r-- | gtk/gtkcellrendererpixbuf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkcellrendererpixbuf.h b/gtk/gtkcellrendererpixbuf.h index 433bca50bd..d41aae9002 100644 --- a/gtk/gtkcellrendererpixbuf.h +++ b/gtk/gtkcellrendererpixbuf.h @@ -41,9 +41,14 @@ struct _GtkCellRendererPixbuf { GtkCellRenderer parent; + /*< private >*/ GdkPixbuf *pixbuf; GdkPixbuf *pixbuf_expander_open; GdkPixbuf *pixbuf_expander_closed; + + gchar *stock_id; + GtkIconSize stock_size; + gchar *stock_detail; }; struct _GtkCellRendererPixbufClass |