summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-03-18 04:50:34 +0000
committerTim Janik <timj@src.gnome.org>2001-03-18 04:50:34 +0000
commitac68581f9655392ab4b41ac5d6b0b76c0adf532f (patch)
tree3a8c1043c94817b941e70dfce7fefb309b0cf517 /tests
parent882bb853891b30c98c58d384d311fa24fbd1b326 (diff)
downloadgdk-pixbuf-ac68581f9655392ab4b41ac5d6b0b76c0adf532f.tar.gz
added rc-style argument GtkSpinButton::shadow_type. removed
Sun Mar 18 01:15:30 2001 Tim Janik <timj@gtk.org> * gtk/gtkspinbutton.[hc]: added rc-style argument GtkSpinButton::shadow_type. removed spin_button->shadow_type, gtk_spin_button_set_shadow_type() and ARG_SHADOW_TYPE as it doesn' make much sense to try to override rc-style settings. * gtk/gtkfixed.c: removed gtk_fixed_paint() (was unused). * gtk/gtkwidget.c: quark cleanups. * gtk/gtkrc.[hc]: added gtk_rc_scanner_new() to create an rc-file scanner with appropriate configuration, renamed GtkRcStyleClass.clone to create_rc_style() (we don't do cloning in standard OO sense). added per rc style properties. * gtk/gtkstyle.[hc]: added code to retrive pspec conformant rc-style property values and for caching those. some cleanups. * gtk/Makefile.am: -DG_DISABLE_CONST_RETURNS. * gtk/gtksettings.[hc]: new file for global rc-file properties (at least currently, should get extended to support X properties and other communication mechanisms). * gtk/gtkwidget.[hc]: added style property support: (gtk_widget_class_install_style_property_parser): install style property pspec with parser function for rc-file values other than LONG, DOUBLE or STRING. (gtk_widget_class_install_style_property): same as above without parser (parsers are going to be needed quite infrequently). (gtk_widget_style_get_property): retrive style property value. (gtk_widget_style_get_valist): same as above with varargs support, has NOCOPY semantics. (gtk_widget_style_get): wrapper around gtk_widget_style_get_valist().
Diffstat (limited to 'tests')
-rw-r--r--tests/testgtkrc17
1 files changed, 15 insertions, 2 deletions
diff --git a/tests/testgtkrc b/tests/testgtkrc
index 30fb41d86..4abd0853d 100644
--- a/tests/testgtkrc
+++ b/tests/testgtkrc
@@ -22,14 +22,27 @@ include "testgtkrc2"
# On Windows, if you have installed gtk-engines, try this for instance:
#include "\\windows\\gtk\\themes\\Pixmap\\gtk\\gtkrc"
-#foo_number = 5
-#mouse_timeout = -7
+double-click_timeout = 42
+bell-duration = 39
+bell_duration = 40
pixmap_path "."
+style "global-style-properties"
+{
+# xthickness = 20
+ GtkSpinButton::shadow_type = etched-out
+}
+class "GtkWidget" style "global-style-properties"
+
style "defaultfont"
{
font_name = "Sans 12"
+
+ Gtest::foo = 47
+ Gtest::bar = 47
+# GtkScrollbar::spacing = 33
+# GtkButton::color = { 3, 2,45, 6, 6, 4, 23 }
}
style "myicons"