Action.createToolItem

gtk.widget.Widget createToolItem()

Creates a toolbar item widget that proxies for the given action.

Returns

a toolbar item connected to the action.

Deprecated

Use a #GtkToolItem and associate it with a #GAction using

[gtk.actionable.Actionable.setActionName] instead