x, y) on the toolbar.int getDropIndex(int x, int y)Returns the position corresponding to the indicated point on toolbar. 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 toolbar coordinates.
x | x coordinate of a point on the toolbar |
y | y coordinate of a point on the toolbar |
x, y) on the toolbar.