     (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

  wy <- peek wyPtr
  return (fromIntegral wx, fromIntegral wy)

-- | Convert widget to tree pixel coordinates.
--
-- * See module description.
--
treeViewWidgetToTreeCoords :: TreeViewClass self => self
 -> Point    -- ^ @(wx, wy)@ - widget X and Y coordinates


-- * Deprecated
#ifndef DISABLE_DEPRECATED
  treeViewWidgetToTreeCoords,
  treeViewTreeToWidgetCoords,

  onColumnsChanged,
  afterColumnsChanged,
  onCursorChanged,
