Method

GtkToolbarset_drop_highlight_item

since: 2.4

Declaration [src]

void
gtk_toolbar_set_drop_highlight_item (
  GtkToolbar* toolbar,
  GtkToolItem* tool_item,
  gint index_
)

Description [src]

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.

Available since: 2.4

Parameters

tool_item

Type: GtkToolItem

A GtkToolItem, or NULL to turn of highlighting.

The argument can be NULL.
The data is owned by the caller of the method.
index_

Type: gint

A position on toolbar.