Learn R Programming

RGtk2 (version 2.20.31)

gtkToolbarGetDropIndex: gtkToolbarGetDropIndex

Description

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.

Usage

gtkToolbarGetDropIndex(object, x, y)

Arguments

object
x
x coordinate of a point on the toolbar
y
y coordinate of a point on the toolbar

Value

x, y) on the toolbar.

Details

x and y are in toolbar coordinates. Since 2.4