2007-05-26 18:44:33 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkTooltip
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2007-06-26 03:34:06 +00:00
|
|
|
Add tips to your widgets
|
2007-05-26 18:44:33 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2007-06-26 05:04:41 +00:00
|
|
|
#GtkTooltip belongs to the new tooltips API that was
|
|
|
|
introduced in GTK+ 2.12 and which deprecates the old
|
|
|
|
#GtkTooltips API.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Basic tooltips can be realized simply by using
|
|
|
|
gtk_widget_set_tooltip_text() or gtk_widget_set_tooltip_markup() without
|
|
|
|
any explicit tooltip object. For fancy tooltips, you will likely
|
|
|
|
connect to the #GtkWidget::query-tooltip signal, which is passed
|
|
|
|
a #GtkTooltip object as the last parameter. You can use functions
|
|
|
|
like gtk_tooltip_set_icon() to modify the tooltip.
|
2007-05-26 18:44:33 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
2007-06-16 02:02:37 +00:00
|
|
|
<!-- ##### STRUCT GtkTooltip ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2007-05-26 18:44:33 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tooltip_set_markup ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tooltip:
|
|
|
|
@markup:
|
|
|
|
|
|
|
|
|
2007-06-16 02:02:37 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tooltip_set_text ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tooltip:
|
|
|
|
@text:
|
|
|
|
|
|
|
|
|
2007-05-26 18:44:33 +00:00
|
|
|
<!-- ##### FUNCTION gtk_tooltip_set_icon ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tooltip:
|
|
|
|
@pixbuf:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tooltip_set_icon_from_stock ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tooltip:
|
|
|
|
@stock_id:
|
|
|
|
@size:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tooltip_set_custom ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@tooltip:
|
|
|
|
@custom_widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tooltip_trigger_tooltip_query ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@display:
|
|
|
|
|
|
|
|
|