File: class-gtkwindowgroup.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 (15 lines) | stat: -rw-r--r-- 6,963 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=ISO-8859-1"><title>gtk.WindowGroup</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="gtk-class-reference.html" title="The gtk Class Reference"><link rel="previous" 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><div></div></div><div class="refnamediv"><h2>gtk.WindowGroup</h2><p>gtk.WindowGroup &#8212; a group of <a href="class-gtkwindow.html" title="gtk.Window"><tt class="classname">gtk.Window</tt></a>
widgets</p></div><div class="refsect1" lang="en"><a name="id3662045"></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"><a href="class-gobject.html" title="gobject.GObject">gobject.GObject</a></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a 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 href="class-gtkwindowgroup.html#method-gtkwindowgroup--add-window" title="gtk.WindowGroup.add_window">add_window</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>window</tt></b></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a href="class-gtkwindowgroup.html#method-gtkwindowgroup--remove-window" title="gtk.WindowGroup.remove_window">remove_window</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>window</tt></b></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3662128"></a><h2>Ancestry</h2><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="synopsis">+-- <a href="class-gobject.html" title="gobject.GObject">gobject.GObject</a>
  +-- <a href="class-gtkwindowgroup.html" title="gtk.WindowGroup">gtk.WindowGroup</a>
</pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3662152"></a><h2>Description</h2><p>A <a href="class-gtkwindowgroup.html" title="gtk.WindowGroup"><tt class="classname">gtk.WindowGroup</tt></a>
object contains a set of <a href="class-gtkwindow.html" title="gtk.Window"><tt class="classname">gtk.Window</tt></a> widgets
that are managed together by some <tt class="literal">PyGTK</tt> functions and
methods.</p></div><div class="refsect1" lang="en"><a name="constructor-gtkwindowgroup"></a><h2>Constructor</h2><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.WindowGroup</span>(<span class="methodparam"></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 new <a href="class-gtkwindowgroup.html" title="gtk.WindowGroup"><tt class="classname">gtk.WindowGroup</tt></a>.</td></tr></tbody></table><p>Creates a new <a href="class-gtkwindowgroup.html" title="gtk.WindowGroup"><tt class="classname">gtk.WindowGroup</tt></a>
object. Grabs added with <a href="class-gtkwidget.html#method-gtkwidget--grab-add" title="gtk.Widget.grab_add"><tt class="methodname">gtk.Widget.grab_add</tt>()</a> 
only affect windows within the same <a href="class-gtkwindowgroup.html" title="gtk.WindowGroup"><tt class="classname">gtk.WindowGroup</tt></a>.</p></div><div class="refsect1" lang="en"><a name="id3662263"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkwindowgroup--add-window"></a><h3>gtk.WindowGroup.add_window</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">add_window</span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>window</tt></b></span></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"><b class="parameter"><tt>window</tt></b>:</span></td><td>the <a href="class-gtkwindow.html" title="gtk.Window"><tt class="classname">gtk.Window</tt></a> to
add</td></tr></tbody></table><p>The <tt class="methodname">add_window</tt>() method adds the <a href="class-gtkwindow.html" title="gtk.Window"><tt class="classname">gtk.Window</tt></a> specified
by <i class="parameter"><tt>window</tt></i> to the windowgroup.</p></div><div class="refsect2" lang="en"><a name="method-gtkwindowgroup--remove-window"></a><h3>gtk.WindowGroup.remove_window</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">remove_window</span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>window</tt></b></span></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"><b class="parameter"><tt>window</tt></b>:</span></td><td>the <a href="class-gtkwindow.html" title="gtk.Window"><tt class="classname">gtk.Window</tt></a> to
remove</td></tr></tbody></table><p>The <tt class="methodname">remove_window</tt>() method removes the
<a href="class-gtkwindow.html" title="gtk.Window"><tt class="classname">gtk.Window</tt></a>
specified by <i class="parameter"><tt>window</tt></i> 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>