This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-gtktreedragsource.html is in python-gtk2-doc 2.24.0-4.

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
25
26
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.TreeDragSource</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-gtktreedragdest.html" title="gtk.TreeDragDest"><link rel="next" href="class-gtktreeiter.html" title="gtk.TreeIter"></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.TreeDragSource</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtktreedragdest.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtktreeiter.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.TreeDragSource"><a name="class-gtktreedragsource"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.TreeDragSource</h2><p>gtk.TreeDragSource — an interface that manages the source data transfer for 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="id4017355"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.TreeDragSource</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktreedragsource.html#method-gtktreedragsource--row-draggable" title="gtk.TreeDragSource.row_draggable">row_draggable</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktreedragsource.html#method-gtktreedragsource--drag-data-delete" title="gtk.TreeDragSource.drag_data_delete">drag_data_delete</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktreedragsource.html#method-gtktreedragsource--drag-data-get" title="gtk.TreeDragSource.drag_data_get">drag_data_get</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>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="id4017476"></a><h2>Description</h2><p>A <a class="link" href="class-gtktreedragsource.html" title="gtk.TreeDragSource"><code class="classname">gtk.TreeDragSource</code></a> is an interface that provides for the management of the source data for 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="id4017504"></a><h2>Methods</h2><div class="refsect2" title="gtk.TreeDragSource.row_draggable"><a name="method-gtktreedragsource--row-draggable"></a><h3>gtk.TreeDragSource.row_draggable</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">row_draggable</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</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>path</code></strong> :</span></p></td><td>the row from which the user is initiating a
drag</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 the row can be
dragged</td></tr></tbody></table><p>The <code class="methodname">row_draggable</code>() method asks the
<a class="link" href="class-gtktreedragsource.html" title="gtk.TreeDragSource"><code class="classname">gtk.TreeDragSource</code></a> 
if the row specified by <em class="parameter"><code>path</code></em> can be used as the
source of a DND operation. If the <a class="link" href="class-gtktreedragsource.html" title="gtk.TreeDragSource"><code class="classname">gtk.TreeDragSource</code></a> 
doesn't implement this interface, the row is assumed draggable.</p></div><div class="refsect2" title="gtk.TreeDragSource.drag_data_delete"><a name="method-gtktreedragsource--drag-data-delete"></a><h3>gtk.TreeDragSource.drag_data_delete</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">drag_data_delete</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>path</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>path</code></strong> :</span></p></td><td>the row that was being
dragged</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 the row was
successfully deleted</td></tr></tbody></table><p>The <code class="methodname">drag_data_delete</code>() method asks the
<a class="link" href="class-gtktreedragsource.html" title="gtk.TreeDragSource"><code class="classname">gtk.TreeDragSource</code></a> 
to delete the row specified by <em class="parameter"><code>path</code></em>, because it was
moved somewhere else via drag-and-drop. This method returns
<code class="literal">False</code> if the deletion fails because
<em class="parameter"><code>path</code></em> no longer exists, or for some other
model-specific reason.</p></div><div class="refsect2" title="gtk.TreeDragSource.drag_data_get"><a name="method-gtktreedragsource--drag-data-get"></a><h3>gtk.TreeDragSource.drag_data_get</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">drag_data_get</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>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>path</code></strong> :</span></p></td><td>the row that was dragged</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>selection_data</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkselectiondata.html" title="gtk.SelectionData"><code class="classname">gtk.SelectionData</code></a> 
to fill with data from the dragged row</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 data of the required
type was provided</td></tr></tbody></table><p>The <code class="methodname">drag_data_get</code>() method asks the
<a class="link" href="class-gtktreedragsource.html" title="gtk.TreeDragSource"><code class="classname">gtk.TreeDragSource</code></a> 
to fill in the selection data object specified by
<em class="parameter"><code>selection_data</code></em> with a representation of the row
specified by <em class="parameter"><code>path</code></em>. The
<em class="parameter"><code>selection_data</code></em> target attribute gives the required
type of the data. </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-gtktreedragdest.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-gtktreeiter.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.TreeDragDest </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.TreeIter</td></tr></table></div></body></html>