Method

GtkTreeViewconvert_tree_to_widget_coords

Declaration [src]

void
gtk_tree_view_convert_tree_to_widget_coords (
  GtkTreeView* tree_view,
  int tx,
  int ty,
  int* wx,
  int* wy
)

Description [src]

Converts tree coordinates (coordinates in full scrollable area of the tree) to widget coordinates.

Parameters

tx int
 

X coordinate relative to the tree.

ty int
 

Y coordinate relative to the tree.

wx int*
 

Return location for widget X coordinate.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
wy int*
 

Return location for widget Y coordinate.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.