~ubuntu-branches/ubuntu/natty/pygtk/natty-proposed

« back to all changes in this revision

Viewing changes to docs/html/class-gtktooltips.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-01-07 11:08:47 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107110847-f5av7e1ttudh7ra6
Tags: 2.17.0-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.Tooltips</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtktooltip.html" title="gtk.Tooltip"><link rel="next" href="class-gtktreedragdest.html" title="gtk.TreeDragDest"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.Tooltips</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtktooltip.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtktreedragdest.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtktooltips"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.Tooltips</h2><p>gtk.Tooltips — add tips to your widgets.</p></div><div class="refsect1" lang="en"><a name="id3789859"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.Tooltips</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a></span></span>):
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.Tooltips</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.1"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtktooltip.html" title="gtk.Tooltip"><link rel="next" href="class-gtktreedragdest.html" title="gtk.TreeDragDest"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.Tooltips</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtktooltip.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtktreedragdest.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.Tooltips"><a name="class-gtktooltips"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.Tooltips</h2><p>gtk.Tooltips — add tips to your widgets.</p></div><div class="refsect1" title="Synopsis"><a name="id4099896"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.Tooltips</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a></span></span>):
2
2
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtktooltips.html#constructor-gtktooltips" title="Constructor">gtk.Tooltips</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktooltips.html#method-gtktooltips--enable" title="gtk.Tooltips.enable">enable</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktooltips.html#method-gtktooltips--disable" title="gtk.Tooltips.disable">disable</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktooltips.html#method-gtktooltips--set-tip" title="gtk.Tooltips.set_tip">set_tip</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>widget</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tip_text</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tip_private</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktooltips.html#method-gtktooltips--force-window" title="gtk.Tooltips.force_window">force_window</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table><pre class="programlisting">
3
3
<span class="bold"><strong>Functions</strong></span>
4
4
 
5
 
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktooltips.html#function-gtk--tooltips-data-get" title="gtk.tooltips_data_get">gtk.tooltips_data_get</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>widget</code></strong></span></span>)</code></pre></div><div class="refsect1" lang="en"><a name="id3790065"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
 
5
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktooltips.html#function-gtk--tooltips-data-get" title="gtk.tooltips_data_get">gtk.tooltips_data_get</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>widget</code></strong></span></span>)</code></pre></div><div class="refsect1" title="Ancestry"><a name="id4100102"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
6
6
  +-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
7
7
    +-- <a class="link" href="class-gtktooltips.html" title="gtk.Tooltips">gtk.Tooltips</a>
8
 
</pre></div><div class="refsect1" lang="en"><a name="properties-gtktooltips"></a><h2>gtk.Tooltips Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p></div><div class="refsect1" lang="en"><a name="id3790116"></a><h2>Attributes</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table cellpadding="5" width="100%" border="0"><colgroup><col><col><col></colgroup><tbody><tr valign="top"><td valign="top">"tip_window"</td><td valign="top">Read</td><td valign="top">The window that the tooltip is displayed in.</td></tr><tr valign="top"><td valign="top">"tip_label"</td><td valign="top">Read</td><td valign="top">The label that displays the tooltip text.</td></tr><tr valign="top"><td valign="top">"active_tips_data"</td><td valign="top">Read</td><td valign="top">The data associated with the active tooltip.</td></tr><tr valign="top"><td valign="top">"tips_data_list"</td><td valign="top">Read</td><td valign="top">A list containing the data associated with the tooltips in a tooltips group. For each tooltip the data is a tuple containing:
 
8
</pre></div><div class="refsect1" title="gtk.Tooltips Properties"><a name="properties-gtktooltips"></a><h2>gtk.Tooltips Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p></div><div class="refsect1" title="Attributes"><a name="id4100153"></a><h2>Attributes</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table cellpadding="5" width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"tip_window"</td><td valign="top">Read</td><td valign="top">The window that the tooltip is displayed in.</td></tr><tr valign="top"><td valign="top">"tip_label"</td><td valign="top">Read</td><td valign="top">The label that displays the tooltip text.</td></tr><tr valign="top"><td valign="top">"active_tips_data"</td><td valign="top">Read</td><td valign="top">The data associated with the active tooltip.</td></tr><tr valign="top"><td valign="top">"tips_data_list"</td><td valign="top">Read</td><td valign="top">A list containing the data associated with the tooltips in a tooltips group. For each tooltip the data is a tuple containing:
9
9
the tooltip object, the associated widget, the tooltip text and the tooltip
10
10
private text.</td></tr><tr valign="top"><td valign="top">"delay"</td><td valign="top">Read</td><td valign="top">The delay between the mouse pausing over the widget and
11
11
the display of the tooltip in msec.</td></tr><tr valign="top"><td valign="top">"enabled"</td><td valign="top">Read</td><td valign="top">If <code class="literal">True</code> the tooltips are
12
12
enabled</td></tr><tr valign="top"><td valign="top">"use_sticky_delay"</td><td valign="top">Read</td><td valign="top">If <code class="literal">True</code> shorten the delay for
13
13
showing a tooltip on another widget is already showing a tooltip.</td></tr><tr valign="top"><td valign="top">"timer_tag"</td><td valign="top">Read</td><td valign="top">The tag of the timeout handler used for the
14
 
delay.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtktooltips"></a><h2>gtk.Tooltips Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p></div><div class="refsect1" lang="en"><a name="id3790356"></a><h2>Description</h2><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>Tooltips are the messages that appear next to a widget when the
 
14
delay.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.Tooltips Signal Prototypes"><a name="signal-prototypes-gtktooltips"></a><h2>gtk.Tooltips Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p></div><div class="refsect1" title="Description"><a name="id4100393"></a><h2>Description</h2><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>Tooltips are the messages that appear next to a widget when the
15
15
mouse pointer is held over it for a short amount of time. They are
16
16
especially helpful for adding more verbose descriptions of things such as
17
17
buttons in a toolbar. An individual tooltip belongs to a group of tooltips.
20
20
method and enabled with the <a class="link" href="class-gtktooltips.html#method-gtktooltips--enable" title="gtk.Tooltips.enable"><code class="methodname">enable</code>()</a> 
21
21
method. To assign a tip to a particular <a class="link" href="class-gtkwidget.html" title="gtk.Widget"><code class="classname">gtk.Widget</code></a>, use the
22
22
<a class="link" href="class-gtktooltips.html#method-gtktooltips--set-tip" title="gtk.Tooltips.set_tip"><code class="methodname">set_tip</code>()</a> 
23
 
method.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>Tooltips can only be set on widgets which have their own X
 
23
method.</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>Tooltips can only be set on widgets which have their own X
24
24
window. To check if a widget has its own window use
25
25
<code class="literal">widget.flags()&amp;gtk.NO_WINDOW</code>. To add a tooltip to a
26
26
widget that doesn't have its own window, place the widget inside a <a class="link" href="class-gtkeventbox.html" title="gtk.EventBox"><code class="classname">gtk.EventBox</code></a> and
28
28
by the current theme that the user has selected. Information about the
29
29
tooltip (if any) associated with an arbitrary widget can be retrieved using
30
30
the <a class="link" href="class-gtktooltips.html#function-gtk--tooltips-data-get" title="gtk.tooltips_data_get"><code class="function">gtk.tooltips_data_get</code>()</a> 
31
 
function.</p></div><div class="refsect1" lang="en"><a name="constructor-gtktooltips"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.Tooltips</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtktooltips.html" title="gtk.Tooltips"><code class="classname">gtk.Tooltips</code></a>
32
 
object</td></tr></tbody></table><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>Creates an empty <a class="link" href="class-gtktooltips.html" title="gtk.Tooltips"><code class="classname">gtk.Tooltips</code></a>
33
 
group.</p></div><div class="refsect1" lang="en"><a name="id3790544"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtktooltips--enable"></a><h3>gtk.Tooltips.enable</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">enable</span>(<span class="methodparam"></span>)</code></pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>The <code class="methodname">enable</code>() method enables a group of
 
31
function.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtktooltips"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.Tooltips</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtktooltips.html" title="gtk.Tooltips"><code class="classname">gtk.Tooltips</code></a>
 
32
object</td></tr></tbody></table><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>Creates an empty <a class="link" href="class-gtktooltips.html" title="gtk.Tooltips"><code class="classname">gtk.Tooltips</code></a>
 
33
group.</p></div><div class="refsect1" title="Methods"><a name="id4100581"></a><h2>Methods</h2><div class="refsect2" title="gtk.Tooltips.enable"><a name="method-gtktooltips--enable"></a><h3>gtk.Tooltips.enable</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">enable</span>(<span class="methodparam"></span>)</code></pre><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>The <code class="methodname">enable</code>() method enables a group of
34
34
tooltips. A tooltip will be displayed over its associated widget when
35
 
the mouse pointer pauses over the widget.</p></div><div class="refsect2" lang="en"><a name="method-gtktooltips--disable"></a><h3>gtk.Tooltips.disable</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">disable</span>(<span class="methodparam"></span>)</code></pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>The <code class="methodname">disable</code>() method disables a group
 
35
the mouse pointer pauses over the widget.</p></div><div class="refsect2" title="gtk.Tooltips.disable"><a name="method-gtktooltips--disable"></a><h3>gtk.Tooltips.disable</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">disable</span>(<span class="methodparam"></span>)</code></pre><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>The <code class="methodname">disable</code>() method disables a group
36
36
of tooltips. A tooltip will not be displayed over its associated widget when
37
 
the mouse pointer pauses over the widget.</p></div><div class="refsect2" lang="en"><a name="method-gtktooltips--set-tip"></a><h3>gtk.Tooltips.set_tip</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_tip</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>widget</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tip_text</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tip_private</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>widget</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkwidget.html" title="gtk.Widget"><code class="classname">gtk.Widget</code></a></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>tip_text</code></strong> :</span></p></td><td>the tooltip text</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>tip_private</code></strong> :</span></p></td><td>the tooltip private text for context sensitive display</td></tr></tbody></table><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>The <code class="methodname">set_tips</code>() method creates a tooltip
 
37
the mouse pointer pauses over the widget.</p></div><div class="refsect2" title="gtk.Tooltips.set_tip"><a name="method-gtktooltips--set-tip"></a><h3>gtk.Tooltips.set_tip</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_tip</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>widget</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tip_text</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tip_private</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>widget</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkwidget.html" title="gtk.Widget"><code class="classname">gtk.Widget</code></a></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>tip_text</code></strong> :</span></p></td><td>the tooltip text</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>tip_private</code></strong> :</span></p></td><td>the tooltip private text for context sensitive display</td></tr></tbody></table><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>The <code class="methodname">set_tips</code>() method creates a tooltip
38
38
for the specified <em class="parameter"><code>widget</code></em>. The text specified by
39
39
<em class="parameter"><code>tooltip_text</code></em> will be displayed when the mouse pointer
40
40
pauses over <em class="parameter"><code>widget</code></em> if the tooltips are
41
 
enabled..</p></div><div class="refsect2" lang="en"><a name="method-gtktooltips--force-window"></a><h3>gtk.Tooltips.force_window</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">force_window</span>(<span class="methodparam"></span>)</code></pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>The <code class="methodname">force_window</code>() method ensures that
 
41
enabled..</p></div><div class="refsect2" title="gtk.Tooltips.force_window"><a name="method-gtktooltips--force-window"></a><h3>gtk.Tooltips.force_window</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">force_window</span>(<span class="methodparam"></span>)</code></pre><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>The <code class="methodname">force_window</code>() method ensures that
42
42
the window used for displaying the given tooltips is created. Applications
43
43
should never have to call this function, since PyGTK takes care of
44
 
this.</p></div></div><div class="refsect1" lang="en"><a name="id3790875"></a><h2>Functions</h2><div class="refsect2" lang="en"><a name="function-gtk--tooltips-data-get"></a><h3>gtk.tooltips_data_get</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">gtk.tooltips_data_get</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>widget</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>widget</code></strong> :</span></p></td><td>a widget</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a tuple containing the tooltip data associated
 
44
this.</p></div></div><div class="refsect1" title="Functions"><a name="id4100912"></a><h2>Functions</h2><div class="refsect2" title="gtk.tooltips_data_get"><a name="function-gtk--tooltips-data-get"></a><h3>gtk.tooltips_data_get</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">gtk.tooltips_data_get</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>widget</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>widget</code></strong> :</span></p></td><td>a widget</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a tuple containing the tooltip data associated
45
45
with <em class="parameter"><code>widget</code></em> or
46
 
<code class="literal">None</code></td></tr></tbody></table><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>The <code class="function">gtk.tooltips_data_get</code>() function
 
46
<code class="literal">None</code></td></tr></tbody></table><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated in PyGTK 2.12 and above</p></div><p>The <code class="function">gtk.tooltips_data_get</code>() function
47
47
returns a tuple containing the tooltip data associated with
48
 
<em class="parameter"><code>widget</code></em>. The tuple contains:</p><div class="itemizedlist"><ul type="disc"><li>the <a class="link" href="class-gtktooltips.html" title="gtk.Tooltips"><code class="classname">gtk.Tooltips</code></a> group
49
 
containing the tooltip</li><li>the widget</li><li>the tooltip text string</li><li>the tooltip private text string or
 
48
<em class="parameter"><code>widget</code></em>. The tuple contains:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">the <a class="link" href="class-gtktooltips.html" title="gtk.Tooltips"><code class="classname">gtk.Tooltips</code></a> group
 
49
containing the tooltip</li><li class="listitem">the widget</li><li class="listitem">the tooltip text string</li><li class="listitem">the tooltip private text string or
50
50
<code class="literal">None</code></li></ul></div><p>If <em class="parameter"><code>widget</code></em> does not have an associated
51
51
tooltip this function returns <code class="literal">None</code>.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtktooltip.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtktreedragdest.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.Tooltip </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.TreeDragDest</td></tr></table></div></body></html>