Toolbar.getItemIndex
int getItemIndex(gtk.tool_item.ToolItem item)Returns the position of item on the toolbar, starting from 0. It is an error if item is not a child of the toolbar.
Parameters
item | a #GtkToolItem that is a child of toolbar |
Returns
the position of item on the toolbar.