X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkstylecontext.h;h=35655f28d6ffdb97d2136280ffc7b70f65797dd3;hb=5bbbc47a4c306653e8347f7afb85a940a503f755;hp=05a49b4f4c3cd805f6ca3ff27632f63421a96bfe;hpb=1f7e375c33c77209181f6b3d3720c1f72c652153;p=~andy%2Fgtk
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 05a49b4f4..35655f28d 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -15,13 +15,13 @@
* License along with this library. If not, see .
*/
+#ifndef __GTK_STYLE_CONTEXT_H__
+#define __GTK_STYLE_CONTEXT_H__
+
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __GTK_STYLE_CONTEXT_H__
-#define __GTK_STYLE_CONTEXT_H__
-
#include
#include
#include
@@ -710,12 +710,13 @@ struct _GtkStyleContextClass
#define GTK_STYLE_CLASS_CURSOR_HANDLE "cursor-handle"
/**
- * GTK_STYLE_CLASS_INVERTED_CURSOR_HANDLE:
+ * GTK_STYLE_CLASS_INSERTION_CURSOR:
*
* A CSS class used when rendering a drag handle for
- * text selection.
+ * the insertion cursor position.
*/
-#define GTK_STYLE_CLASS_INVERTED_CURSOR_HANDLE "inverted-cursor-handle"
+#define GTK_STYLE_CLASS_INSERTION_CURSOR "insertion-cursor"
+
/* Predefined set of widget regions */
@@ -835,8 +836,17 @@ void gtk_style_context_set_screen (GtkStyleContext *context,
GdkScreen *screen);
GdkScreen * gtk_style_context_get_screen (GtkStyleContext *context);
+GDK_AVAILABLE_IN_3_8
+void gtk_style_context_set_frame_clock (GtkStyleContext *context,
+ GdkFrameClock *frame_clock);
+GDK_AVAILABLE_IN_3_8
+GdkFrameClock *gtk_style_context_get_frame_clock (GtkStyleContext *context);
+
+
+GDK_DEPRECATED_IN_3_8_FOR(gtk_style_context_set_state)
void gtk_style_context_set_direction (GtkStyleContext *context,
GtkTextDirection direction);
+GDK_DEPRECATED_IN_3_8_FOR(gtk_style_context_get_state)
GtkTextDirection gtk_style_context_get_direction (GtkStyleContext *context);
void gtk_style_context_set_junction_sides (GtkStyleContext *context,
@@ -878,6 +888,8 @@ void gtk_style_context_get_background_color (GtkStyleContext *context,
void gtk_style_context_get_border_color (GtkStyleContext *context,
GtkStateFlags state,
GdkRGBA *color);
+
+GDK_DEPRECATED_IN_3_8_FOR(gtk_style_context_get)
const PangoFontDescription *
gtk_style_context_get_font (GtkStyleContext *context,
GtkStateFlags state);