Method

GtkTreeViewconvert_widget_to_tree_coords

since: 2.12

Declaration [src]

void
gtk_tree_view_convert_widget_to_tree_coords (
  GtkTreeView* tree_view,
  gint wx,
  gint wy,
  gint* tx,
  gint* ty
)

Description [src]

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

Available since: 2.12

Parameters

wx

Type: gint

X coordinate relative to the widget.

wy

Type: gint

Y coordinate relative to the widget.

tx

Type: gint*

Return location for tree X coordinate.

The argument will be set by the function.
ty

Type: gint*

Return location for tree Y coordinate.

The argument will be set by the function.