Method

GtkIconViewconvert_widget_to_bin_window_coords

Declaration [src]

void
gtk_icon_view_convert_widget_to_bin_window_coords (
  GtkIconView* icon_view,
  gint wx,
  gint wy,
  gint* bx,
  gint* by
)

Description [src]

Converts widget coordinates to coordinates for the bin_window, as expected by e.g. gtk_icon_view_get_path_at_pos().

Available since:2.12

Parameters

wx

Type: gint

X coordinate relative to the widget.

wy

Type: gint

Y coordinate relative to the widget.

bx

Type: gint*

Return location for bin_window X coordinate.

The argument will be set by the function.
by

Type: gint*

Return location for bin_window Y coordinate.

The argument will be set by the function.