summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorYevgen Muntyan <muntyan@tamu.edu>2007-06-06 19:43:31 +0000
committerYevgen Muntyan <muntyan@src.gnome.org>2007-06-06 19:43:31 +0000
commit2cbaeadf43ec960d42d35479bc0bdcb14b4741d0 (patch)
treebaf0bc50a9c124ed1b1e158116a08a010efbef32 /gtk/gtkwidget.h
parentec32b2aaa3ea1c7162209e56bae950ff16def577 (diff)
downloadgtk+-2cbaeadf43ec960d42d35479bc0bdcb14b4741d0.tar.gz
new method, gtk_widget_modify_cursor() (#89314).
2007-06-06 Yevgen Muntyan <muntyan@tamu.edu> * gtk/gtkwidget.c: * gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#89314). * gtkrc.c: * gtkrc.h: new functions _gtk_rc_style_set_rc_property() and _gtk_rc_style_unset_rc_property(). * gtk/gtk.symbols: added gtk_widget_modify_cursor. * tests/testtext.c (do_cursor_visible_changed): * tests/testgtk.c (create_styles): test it. svn path=/trunk/; revision=18066
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 50374cc85a..8db67c10c0 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -671,6 +671,9 @@ void gtk_widget_modify_text (GtkWidget *widget,
void gtk_widget_modify_base (GtkWidget *widget,
GtkStateType state,
const GdkColor *color);
+void gtk_widget_modify_cursor (GtkWidget *widget,
+ const GdkColor *primary,
+ const GdkColor *secondary);
void gtk_widget_modify_font (GtkWidget *widget,
PangoFontDescription *font_desc);