This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-gtktreedragdest.html is in python-gtk2-doc 2.24.0-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.TreeDragDest</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><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-gtktooltips.html" title="gtk.Tooltips"><link rel="next" href="class-gtktreedragsource.html" title="gtk.TreeDragSource"></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.TreeDragDest</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtktooltips.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtktreedragsource.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.TreeDragDest"><a name="class-gtktreedragdest"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.TreeDragDest</h2><p>gtk.TreeDragDest — an interface that manages the data transfer for a
destination of a <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a> drag
and drop operation</p></div><div class="refsect1" title="Synopsis"><a name="id4016844"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.TreeDragDest</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktreedragdest.html#method-gtktreedragdest--drag-data-received" title="gtk.TreeDragDest.drag_data_received">drag_data_received</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>dest</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>selection_data</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktreedragdest.html#method-gtktreedragdest--row-drop-possible" title="gtk.TreeDragDest.row_drop_possible">row_drop_possible</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>dest_path</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>selection_data</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Description"><a name="id4016953"></a><h2>Description</h2><p>The <a class="link" href="class-gtktreedragdest.html" title="gtk.TreeDragDest"><code class="classname">gtk.TreeDragDest</code></a> 
is an interface for checking and receiving the data for the destination of a
<a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a>
drag and drop operation.</p></div><div class="refsect1" title="Methods"><a name="id4016981"></a><h2>Methods</h2><div class="refsect2" title="gtk.TreeDragDest.drag_data_received"><a name="method-gtktreedragdest--drag-data-received"></a><h3>gtk.TreeDragDest.drag_data_received</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">drag_data_received</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>dest</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>selection_data</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>dest</code></strong> :</span></p></td><td>the row to drop the data in front
of</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>selection_data</code></strong> :</span></p></td><td>the data to drop</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td><code class="literal">True</code> if a new row was
created before position <em class="parameter"><code>dest</code></em></td></tr></tbody></table><p>The <code class="methodname">drag_data_received</code>() method asks
the <a class="link" href="class-gtktreedragdest.html" title="gtk.TreeDragDest"><code class="classname">gtk.TreeDragDest</code></a> 
to insert a row before the path <em class="parameter"><code>dest</code></em>, deriving the
contents of the row from <em class="parameter"><code>selection_data</code></em>. If
<em class="parameter"><code>dest</code></em> is outside the tree so that inserting before it
is impossible, <code class="literal">False</code> will be returned. Also,
<code class="literal">False</code> may be returned if the new row is not created for
some model-specific reason.</p></div><div class="refsect2" title="gtk.TreeDragDest.row_drop_possible"><a name="method-gtktreedragdest--row-drop-possible"></a><h3>gtk.TreeDragDest.row_drop_possible</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">row_drop_possible</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>dest_path</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>selection_data</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>dest_path</code></strong> :</span></p></td><td>a destination row</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>selection_data</code></strong> :</span></p></td><td>the data being dragged</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>True if a drop is possible before
<em class="parameter"><code>dest_path</code></em></td></tr></tbody></table><p>The <code class="methodname">row_drop_possible</code>() method
determines if a drop is possible before the tree path specified by
<em class="parameter"><code>dest_path</code></em> and at the same depth as
<em class="parameter"><code>dest_path</code></em>. That is, can we drop the data specified by
<em class="parameter"><code>selection_data</code></em> at that location.
<em class="parameter"><code>dest_path</code></em> does not have to exist but the return value
will almost certainly be <code class="literal">False</code> if the parent of
<em class="parameter"><code>dest_path</code></em> doesn't exist, though.</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-gtktooltips.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-gtktreedragsource.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.Tooltips </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.TreeDragSource</td></tr></table></div></body></html>