summaryrefslogtreecommitdiff
path: root/gtk/gtkbindings.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-07-08 14:12:27 +0000
committerTim Janik <timj@src.gnome.org>1998-07-08 14:12:27 +0000
commit9b4d90465ef16ba56272cb91857dab0b2347d93c (patch)
treed7e4b37b892493914a72fdb8bcc7bfc0f5ac0b03 /gtk/gtkbindings.c
parent88fba9f84531a3c38b9ad6dbc9820288cb8b6094 (diff)
downloadgdk-pixbuf-9b4d90465ef16ba56272cb91857dab0b2347d93c.tar.gz
handle GTK_RELIEF_HALF, which was introduced to keep either
Wed Jul 8 15:31:28 1998 Tim Janik <timj@gtk.org> * gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons (GTK_RELIEF_HALF). (gtk_button_paint): set the background for prelighted buttons with GTK_STATE_NORMAL only if GTK_RELIEF_NONE. (gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for the shadow type (otherwise we get strange shadows for coloured buttons). (gtk_button_set_relief): queue a redraw after changing the relief. (gtk_button_class_init): (gtk_button_set_arg): (gtk_button_get_arg): added object argument "GtkButton::relief". * gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.
Diffstat (limited to 'gtk/gtkbindings.c')
0 files changed, 0 insertions, 0 deletions