summaryrefslogtreecommitdiff
path: root/gtk/gtkwidgetprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-05-18 16:02:04 +0200
committerBenjamin Otte <otte@redhat.com>2014-05-24 16:12:20 +0200
commit4f89eb05cf8a09a1ce1de4870fdc4395645a0bdf (patch)
tree9b9f75e2e2d60be42aef2033e875efc12c8480ae /gtk/gtkwidgetprivate.h
parent1d897a9bf2fe2079c669973e9a6e02e4c939f974 (diff)
downloadgtk+-4f89eb05cf8a09a1ce1de4870fdc4395645a0bdf.tar.gz
API: widget: Add gtk_widget_set_clip() API
And handle the fact that drawing bounds are now handled by this API and the corresponding gtk_widget_get_clip(). Also add _gtk_widget_supports_clip() function to check if a widget has been ported to the new world.
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r--gtk/gtkwidgetprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index dad9b6fd3c..8f2a9d5ecc 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -133,6 +133,7 @@ void _gtk_widget_buildable_finish_accelerator (GtkWidget *widget,
GtkStyle * _gtk_widget_get_style (GtkWidget *widget);
void _gtk_widget_set_style (GtkWidget *widget,
GtkStyle *style);
+gboolean _gtk_widget_supports_clip (GtkWidget *widget);
typedef gboolean (*GtkCapturedEventHandler) (GtkWidget *widget, GdkEvent *event);