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 [GtkToolbar] a GtkToolbar
x [integer] x coordinate of a point on the toolbar
y [integer] 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.12.5-3 Index]