summaryrefslogtreecommitdiff
path: root/tests/testgtkrc
diff options
context:
space:
mode:
authorOwen Taylor <owt1@cornell.edu>1998-03-08 21:47:14 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-03-08 21:47:14 +0000
commitab30a02e5f48d3fb3f8bf152941056d84305ddbe (patch)
tree90c36f53de1d567039152a579f277500a0d5d785 /tests/testgtkrc
parent85f1364922265a19e99c3fca647f884716589446 (diff)
downloadgtk+-ab30a02e5f48d3fb3f8bf152941056d84305ddbe.tar.gz
- Show selection correctly when starting selection with arrows
Sun Mar 8 15:53:33 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtktext.c: - Show selection correctly when starting selection with arrows - Display pixmap background only when not editable - Redraw focus area more carefully to prevent flashing (and make style of drawing consistent with Entry) * gtk/gtktreeitem.c: ref colormaps for pixmap by colormap storage. * gtk/gtkrc.c: Store a separate style for each RcStyle for each colormap, so we can handle background pixmaps correctly, which need to be per-colormap. (Leaks colormaps...) Parse text color style entries correctly. * gtk/testgtk.c: insert text without fg color gtk/testgtkrc: move "*" after rest, so the other class styles take effect * gdk/gdkwindow.c gdk/gdk.c gdk/gdkprivate.h: Send DND events safely, in case drop window disappears. (Performance hit because XSync()'s are necessary) * gdk/gdk.h gdk/gdkpixmap.c: Added gdk_pixmap_colormap_create_from_xpm[_d] to allow creating pixmaps from xpm's before you have a GdkWindow.
Diffstat (limited to 'tests/testgtkrc')
-rw-r--r--tests/testgtkrc11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/testgtkrc b/tests/testgtkrc
index 6d61ecbd76..566c663831 100644
--- a/tests/testgtkrc
+++ b/tests/testgtkrc
@@ -13,7 +13,7 @@ pixmap_path "."
style "default"
{
fontset = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*,*"
-# base[NORMAL] = { 1.0, 0.8, 0.8 }
+# base[NORMAL] = { 0.8, 0.8, 1.0 }
}
style "window"
@@ -48,8 +48,9 @@ style "toggle_button" = "button"
style "text"
{
-# bg_pixmap[NORMAL] = "marble.xpm"
-# fg[NORMAL] = { 1.0, 1.0, 1.0 }
+ bg_pixmap[NORMAL] = "marble.xpm"
+ text[NORMAL] = { 1.0, 1.0, 1.0 }
+ base[NORMAL] = { 0.0, 0.0, 0.0 }
}
style "ruler"
@@ -62,7 +63,6 @@ style "curve"
fg[NORMAL] = { 58000, 0, 0 } # red
}
-widget_class "*" style "default"
widget_class "GtkWindow" style "window"
widget_class "GtkDialog" style "window"
widget_class "GtkFileSelection" style "window"
@@ -71,6 +71,7 @@ widget_class "*GtkCheckButton*" style "toggle_button"
widget_class "*GtkRadioButton*" style "toggle_button"
widget_class "*GtkButton*" style "button"
widget_class "*Ruler" style "ruler"
-#widget_class "*GtkText" style "text"
+widget_class "*GtkText" style "text"
+widget_class "*" style "default"
widget "main window.*GtkButton*" style "main_button"
widget "*GtkCurve" style "curve"