-
Although, you can use: gtk_widget_get_parent_window (gtk_bin_get_child (GTK_BIN (widget))) there already are gtk_tree_view_get_bin_window() and gtk_layout_get_bin_window() in GTK+ api. https://bugzilla.gnome.org/show_bug.cgi?id=594960
f5df4e05
Although, you can use: gtk_widget_get_parent_window (gtk_bin_get_child (GTK_BIN (widget))) there already are gtk_tree_view_get_bin_window() and gtk_layout_get_bin_window() in GTK+ api. https://bugzilla.gnome.org/show_bug.cgi?id=594960