IconView.convertWidgetToBinWindowCoords

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

class IconView
void
convertWidgetToBinWindowCoords
(
int wx
,
int wy
,
out int bx
,
out int by
)

Parameters

wx int

X coordinate relative to the widget

wy int

Y coordinate relative to the widget

bx int

return location for bin_window X coordinate

by int

return location for bin_window Y coordinate

Meta

Since

2.12