This file is indexed.

/usr/share/doc/python-gtk2-tutorial/html/sec-DNDProperties.html is in python-gtk2-tutorial 2.4-1.

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
27
28
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>22.2. DND Properties</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="PyGTK 2.0 Tutorial"><link rel="up" href="ch-DragAndDrop.html" title="Chapter 22. Drag-and-drop (DND)"><link rel="previous" href="ch-DragAndDrop.html" title="Chapter 22. Drag-and-drop (DND)"><link rel="next" href="sec-DNDMethods.html" title="22.3. DND Methods"></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">22.2. DND Properties</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch-DragAndDrop.html">Prev</a> </td><th width="60%" align="center">Chapter 22. Drag-and-drop (DND)</th><td width="20%" align="right"> <a accesskey="n" href="sec-DNDMethods.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sec-DNDProperties"></a>22.2. DND Properties</h2></div></div><div></div></div><p>Drag data has the following properties:</p><div class="itemizedlist"><ul type="disc"><li><p>Drag action type (ie <tt class="literal">ACTION_COPY</tt>,
<tt class="literal">ACTION_MOVE</tt>).</p></li><li><p>Client specified arbitrary drag-and-drop type (a name and
number pair).</p></li><li><p>Sent and received data format type.</p></li></ul></div><p>Drag actions are quite obvious, they specify if the widget can
drag with the specified action(s),
e.g. <tt class="literal">gtk.gdk.ACTION_COPY</tt> and/or
<tt class="literal">gtk.gdk.ACTION_MOVE</tt>. An
<tt class="literal">gtk.gdk.ACTION_COPY</tt> would be a typical drag-and-drop
without the source data being deleted while
<tt class="literal">gtk.gdk.ACTION_MOVE</tt> would be just like
<tt class="literal">gtk.gdk.ACTION_COPY</tt> but the source data will be
'suggested' to be deleted after the received signal handler is called. There
are additional drag actions including <tt class="literal">gtk.gdk.ACTION_LINK</tt>
which you may want to look into when you get to more advanced levels of
drag-and-drop.</p><p>The client specified arbitrary drag-and-drop type is much more
flexible, because your application will be defining and checking for that
specifically. You will need to set up your destination widgets to receive
certain drag-and-drop types by specifying a name and/or number. It would be
more reliable to use a name since another application may just happen to use
the same number for an entirely different meaning.</p><p>Sent and received data format types (<span class="emphasis"><em>selection
target</em></span>) come into play only in your request and received data
handler functions. The term <span class="emphasis"><em>selection target</em></span> is
somewhat misleading. It is a term adapted from GTK+ selection (cut/copy and
paste). What <span class="emphasis"><em>selection target</em></span> actually means is the
data's format type (i.e. <tt class="classname">gtk.gdk.Atom</tt>, integer, or
string) that is being sent or received. Your request data handler function
needs to specify the type (<span class="emphasis"><em>selection target</em></span>) of data
that it sends out and your received data handler needs to handle the type
(<span class="emphasis"><em>selection target</em></span>) of data received.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch-DragAndDrop.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch-DragAndDrop.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="sec-DNDMethods.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 22. Drag-and-drop (DND) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 22.3. DND Methods</td></tr></table></div></body></html>