forked from AuroraMiddleware/gtk
7ee58b9775
svn path=/trunk/; revision=18237
90 lines
1.4 KiB
Plaintext
90 lines
1.4 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkTooltip
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Add tips to your widgets
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
#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.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### STRUCT GtkTooltip ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tooltip_set_markup ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@tooltip:
|
|
@markup:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_tooltip_set_text ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@tooltip:
|
|
@text:
|
|
|
|
|
|
<!-- ##### 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:
|
|
|
|
|