get_drop_index
Description:
Returns the position corresponding to the indicated point on this.
This is useful when dragging items to the toolbar: this function returns the position a new item should be inserted.
x
and y
are in this coordinates.
Parameters:
this |
a Toolbar |
x |
x coordinate of a point on the toolbar |
y |
y coordinate of a point on the toolbar |
Returns:
The position corresponding to the point ( |