diff options
author | CST 1998 Shawn T. Amundson <amundson@gtk.org> | 1998-11-17 01:34:07 +0000 |
---|---|---|
committer | Shawn Amundson <amundson@src.gnome.org> | 1998-11-17 01:34:07 +0000 |
commit | bb0ec69706f29e67082f8617aedba7785039a2fd (patch) | |
tree | 78886d94d83399ec261b364a907a4c088b914e74 /gtk/gtkpixmap.h | |
parent | e94a7b1a7afe102d74f075e76f2674287f2d2153 (diff) | |
download | gtk+-bb0ec69706f29e67082f8617aedba7785039a2fd.tar.gz |
Pixmaps now grey out when insensitive, code thanks to GNOME stock by
Mon Nov 16 19:19:00 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gtk/gtkpixmap.h
gtk/gtkpixmap.c: Pixmaps now grey out when insensitive,
code thanks to GNOME stock by Eckehard Berns. New function
gtk_pixmap_set_build_insensitive to provide ability to turn
this off.
Diffstat (limited to 'gtk/gtkpixmap.h')
-rw-r--r-- | gtk/gtkpixmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkpixmap.h b/gtk/gtkpixmap.h index 1694579ab4..9f97f5a2e1 100644 --- a/gtk/gtkpixmap.h +++ b/gtk/gtkpixmap.h @@ -45,6 +45,9 @@ struct _GtkPixmap GdkPixmap *pixmap; GdkBitmap *mask; + + GdkPixmap *pixmap_insensitive; + guint build_insensitive : 1; }; struct _GtkPixmapClass @@ -63,6 +66,9 @@ void gtk_pixmap_get (GtkPixmap *pixmap, GdkPixmap **val, GdkBitmap **mask); +void gtk_pixmap_set_build_insensitive (GtkPixmap *pixmap, + guint build); + #ifdef __cplusplus } |