gtkToolbarGetDropIndex {RGtk2}R Documentation

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

a GtkToolbar

x

x coordinate of a point on the toolbar

y

y coordinate of a point on the toolbar

Details

x and y are in toolbar coordinates. Since 2.4

Value

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

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]