File: class-gobjectgboxed.html

package info (click to toggle)
python-gtk2-doc 2.5.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,304 kB
  • ctags: 3,741
  • sloc: makefile: 38
file content (9 lines) | stat: -rw-r--r-- 3,902 bytes parent folder | download
1
2
3
4
5
6
7
8
9
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>gobject.GBoxed</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gobject-class-reference.html" title="The gobject Class Reference"><link rel="previous" href="class-gobject.html" title="gobject.GObject"><link rel="next" href="class-gobjectgpointer.html" title="gobject.GPointer"></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">gobject.GBoxed</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gobject.html">Prev</a></td><th width="60%" align="center">The gobject Class Reference</th><td width="20%" align="right"><a accesskey="n" href="class-gobjectgpointer.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gobjectgboxed"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>gobject.GBoxed</h2><p>gobject.GBoxed &#8212; an object containing an opaque chunk of data</p></div><div class="refsect1" lang="en"><a name="id3019229"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gobject.GBoxed</span></span>:
<code class="methodsynopsis">    def <span class="methodname"><a href="class-gobjectgboxed.html#method-gobjectgboxed--copy" title="gobject.GBoxed.copy">copy</a></span>()</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3027788"></a><h2>Ancestry</h2><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="synopsis">+-- <a href="class-gobjectgboxed.html" title="gobject.GBoxed">gobject.GBoxed</a>
</pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3003076"></a><h2>Description</h2><p><a href="class-gobjectgboxed.html" title="gobject.GBoxed"><tt class="classname">gobject.GBoxed</tt></a>
is an abstract base class that encapsulates an opaque chunk of data to
provide an object-oriented interface and a type that is registered with the
<tt class="literal">GLIB</tt> type system. A boxed type is registered with
functions that provide for the copying and freeing of the underlying data
structure - this allows PyGTK to encapsulate these as Python objects.</p></div><div class="refsect1" lang="en"><a name="id3008447"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gobjectgboxed--copy"></a><h3>gobject.GBoxed.copy</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">copy</span>()</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>a copy of the <a href="class-gobjectgboxed.html" title="gobject.GBoxed"><tt class="classname">gobject.GBoxed</tt></a>
	  object</td></tr></tbody></table><p>The <tt class="methodname">copy</tt>() method makes and returns a copy of the boxed object.</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-gobject.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="gobject-class-reference.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="class-gobjectgpointer.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gobject.GObject</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">gobject.GPointer</td></tr></table></div></body></html>