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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-06-22 16:49:42 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090622164942-19zeltp4z0u5iw72
Tags: 2.15.2-0ubuntu1
* New upstream version:
  - Rename gtk.Statusbar.remove() to gtk.Statusbar.remove_message
  - Allow pango.Context creation 
  - Make gtk.gdk.Pixbuf.add_alpha accept integers, retaining backward
    compatibility accepting also chars 
  - Protect window obj from GC in gtk.window_get_toplevels 
  - Plug huge number of memory leaks in Pango wrappers 
  - Add gtk.gdk.WINDOWING constant 
  - Wrap gdk_pixbuf_apply_embedded_orientation 
  - Modernize constructors of seven more types 
  - Don't free a string we don't own 
  - Some docs tweaking 
* debian/control.in:
  - set vcs location
* debian/patches/02_fix_get_application_info_crash.patch:
  - the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<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.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-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" lang="en"><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
2
2
destination of a <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a> drag
3
 
and drop operation</p></div><div class="refsect1" lang="en"><a name="id3765209"></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>):
4
 
<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" lang="en"><a name="id3765318"></a><h2>Description</h2><p>The <a class="link" href="class-gtktreedragdest.html" title="gtk.TreeDragDest"><code class="classname">gtk.TreeDragDest</code></a> 
 
3
and drop operation</p></div><div class="refsect1" lang="en"><a name="id3966116"></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>):
 
4
<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" lang="en"><a name="id3966225"></a><h2>Description</h2><p>The <a class="link" href="class-gtktreedragdest.html" title="gtk.TreeDragDest"><code class="classname">gtk.TreeDragDest</code></a> 
5
5
is an interface for checking and receiving the data for the destination of a
6
6
<a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a>
7
 
drag and drop operation.</p></div><div class="refsect1" lang="en"><a name="id3765345"></a><h2>Methods</h2><div class="refsect2" lang="en"><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
 
7
drag and drop operation.</p></div><div class="refsect1" lang="en"><a name="id3966253"></a><h2>Methods</h2><div class="refsect2" lang="en"><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
8
8
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
9
9
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
10
10
the <a class="link" href="class-gtktreedragdest.html" title="gtk.TreeDragDest"><code class="classname">gtk.TreeDragDest</code></a>