gtkToolbarGetDropIndex: gtkToolbarGetDropIndex

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

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

1
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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.