File: class-gtkwindowgroup.html

package info (click to toggle)
pygtk 2.12.1-6
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 25,776 kB
  • ctags: 8,213
  • sloc: xml: 168,600; python: 14,328; sh: 9,131; ansic: 2,724; makefile: 1,141
file content (15 lines) | stat: -rw-r--r-- 7,277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.WindowGroup</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-gtkwindow.html" title="gtk.Window"><link rel="next" href="gtk-functions.html" title="gtk Functions"></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.WindowGroup</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkwindow.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="gtk-functions.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkwindowgroup"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.WindowGroup</h2><p>gtk.WindowGroup — a group of <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a>
widgets</p></div><div class="refsect1" lang="en"><a name="id3707780"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.WindowGroup</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkwindowgroup.html#constructor-gtkwindowgroup" title="Constructor">gtk.WindowGroup</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkwindowgroup.html#method-gtkwindowgroup--add-window" title="gtk.WindowGroup.add_window">add_window</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkwindowgroup.html#method-gtkwindowgroup--remove-window" title="gtk.WindowGroup.remove_window">remove_window</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3707884"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
  +-- <a class="link" href="class-gtkwindowgroup.html" title="gtk.WindowGroup">gtk.WindowGroup</a>
</pre></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkwindowgroup"></a><h2>gtk.WindowGroup Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p></div><div class="refsect1" lang="en"><a name="id3707929"></a><h2>Description</h2><p>A <a class="link" href="class-gtkwindowgroup.html" title="gtk.WindowGroup"><code class="classname">gtk.WindowGroup</code></a>
object contains a set of <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a> widgets
that are managed together by some <code class="literal">PyGTK</code> functions and
methods.</p></div><div class="refsect1" lang="en"><a name="constructor-gtkwindowgroup"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.WindowGroup</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkwindowgroup.html" title="gtk.WindowGroup"><code class="classname">gtk.WindowGroup</code></a>.</td></tr></tbody></table><p>Creates a new <a class="link" href="class-gtkwindowgroup.html" title="gtk.WindowGroup"><code class="classname">gtk.WindowGroup</code></a>
object. Grabs added with <a class="link" href="class-gtkwidget.html#method-gtkwidget--grab-add" title="gtk.Widget.grab_add"><code class="methodname">gtk.Widget.grab_add</code>()</a> 
only affect windows within the same <a class="link" href="class-gtkwindowgroup.html" title="gtk.WindowGroup"><code class="classname">gtk.WindowGroup</code></a>.</p></div><div class="refsect1" lang="en"><a name="id3708048"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkwindowgroup--add-window"></a><h3>gtk.WindowGroup.add_window</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">add_window</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</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>window</code></strong> :</span></p></td><td>the <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a> to
add</td></tr></tbody></table><p>The <code class="methodname">add_window</code>() method adds the <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a> specified
by <em class="parameter"><code>window</code></em> to the windowgroup.</p></div><div class="refsect2" lang="en"><a name="method-gtkwindowgroup--remove-window"></a><h3>gtk.WindowGroup.remove_window</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">remove_window</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</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>window</code></strong> :</span></p></td><td>the <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a> to
remove</td></tr></tbody></table><p>The <code class="methodname">remove_window</code>() method removes the
<a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a>
specified by <em class="parameter"><code>window</code></em> from the windowgroup.</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-gtkwindow.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="gtk-functions.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.Window </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk Functions</td></tr></table></div></body></html>