Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=607885
gtk_paned_add2
gtk_paned_get_child1
gtk_paned_get_child2
+gtk_paned_get_handle_window
gtk_paned_get_position
gtk_paned_get_type G_GNUC_CONST
gtk_paned_pack1
return FALSE;
}
+/**
+ * gtk_paned_get_handle_window:
+ * @panede: a #GtkPaned
+ *
+ * Returns the #GdkWindow of the handle. This function is
+ * useful when handling button or motion events because it
+ * enables the callback to distinguish between the window
+ * of the paned, a child and the handle.
+ *
+ * Return value: the paned's handle window.
+ *
+ * Since: 2.20
+ **/
+GdkWindow *
+gtk_paned_get_handle_window (GtkPaned *paned)
+{
+ g_return_val_if_fail (GTK_IS_PANED (paned), NULL);
+
+ return paned->handle;
+}
+
#define __GTK_PANED_C__
#include "gtkaliasdef.c"
GtkWidget * gtk_paned_get_child1 (GtkPaned *paned);
GtkWidget * gtk_paned_get_child2 (GtkPaned *paned);
+GdkWindow * gtk_paned_get_handle_window (GtkPaned *paned);
+
#ifndef GTK_DISABLE_DEPRECATED
/* Internal function */
void gtk_paned_compute_position (GtkPaned *paned,