ToolItem.setTooltip

Warning gtk_tool_item_set_tooltip has been deprecated since version 2.12 and should not be used in newly-written code. Use gtk_tool_item_set_tooltip_text() instead. Sets the GtkTooltips object to be used for tool_item, the text to be displayed as tooltip on the item and the private text to be used. See gtk_tooltips_set_tip(). Since 2.4

  1. void setTooltip(string tipText, string tipPrivate)
  2. void setTooltip(Tooltips tooltips, string tipText, string tipPrivate)
    class ToolItem
    void
    setTooltip

Parameters

tooltips Tooltips

The GtkTooltips object to be used

tipText string

text to be used as tooltip text for tool_item. [allow-none]

tipPrivate string

text to be used as private tooltip text. [allow-none]

Meta