Gtk.Toolbar.prototype.set_drop_highlight_item
function set_drop_highlight_item(tool_item:Gtk.ToolItem, index_:Number):void {
// Gjs wrapper for gtk_toolbar_set_drop_highlight_item()
}Highlights toolbar to give an idea of what it would look like if @item was added to toolbar at the position indicated by index_. If @item is null, highlighting is turned off. In that case index_ is ignored.
The tool_item passed to this function must not be part of any widget hierarchy. When an item is set as drop highlight item it can not added to any widget hierarchy or used as highlight item for another toolbar.
Since 2.4
- tool_item
a Gtk.ToolItem, or null to turn of highlighting
- index_
a position on toolbar