     (castPtr (rPtr :: Ptr Rectangle))
   peek rPtr
 
--- | Convert tree to widget pixel coordinates.
---
--- * See module description.
+#ifndef DISABLE_DEPRECATED
+-- | @gtkTreeViewTreeToWidgetCoords@ has been deprecated since version 2.12 and should not be used in
+-- newly-written code. Due to historial reasons the name of this function is incorrect. For converting
+-- @binWindow@ coordinates to coordinates relative to @binWindow@, please see
+-- 'treeViewConvertBinWindowToWidgetCoords'.
+-- 
+-- Converts tree coordinates (coordinates in full scrollable area of the tree) to @binWindow@
+-- coordinates.
 --
 treeViewTreeToWidgetCoords :: TreeViewClass self => self
  -> Point    -- ^ @(tx, ty)@ - tree X and Y coordinates

  tx <- peek txPtr
  ty <- peek tyPtr
  return (fromIntegral tx, fromIntegral ty)

-- | Creates a 'Pixmap' representation of the row at the given path. This image
-- can be used for a drag icon.

  treeViewGetCellArea,
  treeViewGetBackgroundArea,
  treeViewGetVisibleRect,
#if GTK_CHECK_VERSION(2,12,0)
  treeViewConvertBinWindowToTreeCoords,
  treeViewConvertBinWindowToWidgetCoords,
  treeViewConvertTreeToBinWindowCoords,
  treeViewConvertTreeToWidgetCoords,
  treeViewConvertWidgetToBinWindowCoords,
  treeViewConvertWidgetToTreeCoords,
#endif
  treeViewCreateRowDragIcon,
  treeViewGetEnableSearch,
  treeViewSetEnableSearch,
