Package: gtk

Function gtk-toolbar-drop-index

Lambda List

gtk-toolbar-drop-index (toolbar x y)

Arguments

toolbar -- a gtk-toolbar widget
x -- an integer with the x coordinate of a point on the toolbar
y -- an integer with the y coordinate of a point on the toolbar

Return Value

The position corresponding to the point (x, y) on the toolbar.

Details

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. The x and y arguments are in toolbar coordinates.
 

See also

2021-10-30