Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.Toolbar

Method GTK2.Toolbar()->get_drop_index()


Method get_drop_index

int get_drop_index(int x, int y)

Description

Returns the position corresponding to the indicated point on the 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.