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

« back to all changes in this revision

Viewing changes to docs/html/class-gtkcolorselectiondialog.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
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.ColorSelectionDialog</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-gtkcolorselection.html" title="gtk.ColorSelection"><link rel="next" href="class-gtkcombo.html" title="gtk.Combo"></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.ColorSelectionDialog</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkcolorselection.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkcombo.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkcolorselectiondialog"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.ColorSelectionDialog</h2><p>gtk.ColorSelectionDialog — a standard dialog for selecting a color.</p></div><div class="refsect1" lang="en"><a name="id3430815"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.ColorSelectionDialog</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a></span></span>):
2
 
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkcolorselectiondialog.html#constructor-gtkcolorselectiondialog" title="Constructor">gtk.ColorSelectionDialog</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>title</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkcolorselectiondialog.html#method-gtkcolorselectiondialog--get-color-selection" title="gtk.Frame.get_color_selection">get_color_selection</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3430882"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.ColorSelectionDialog</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-gtkcolorselection.html" title="gtk.ColorSelection"><link rel="next" href="class-gtkcombo.html" title="gtk.Combo"></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.ColorSelectionDialog</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkcolorselection.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkcombo.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkcolorselectiondialog"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.ColorSelectionDialog</h2><p>gtk.ColorSelectionDialog — a standard dialog for selecting a color.</p></div><div class="refsect1" lang="en"><a name="id3631649"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.ColorSelectionDialog</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a></span></span>):
 
2
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkcolorselectiondialog.html#constructor-gtkcolorselectiondialog" title="Constructor">gtk.ColorSelectionDialog</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>title</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkcolorselectiondialog.html#method-gtkcolorselectiondialog--get-color-selection" title="gtk.Frame.get_color_selection">get_color_selection</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3631716"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
3
3
  +-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
4
4
    +-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
5
5
      +-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
7
7
          +-- <a class="link" href="class-gtkwindow.html" title="gtk.Window">gtk.Window</a>
8
8
            +-- <a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a>
9
9
              +-- <a class="link" href="class-gtkcolorselectiondialog.html" title="gtk.ColorSelectionDialog">gtk.ColorSelectionDialog</a>
10
 
</pre></div><div class="refsect1" lang="en"><a name="id3430935"></a><h2>Implemented Interfaces</h2><p>
 
10
</pre></div><div class="refsect1" lang="en"><a name="id3631770"></a><h2>Implemented Interfaces</h2><p>
11
11
                        <a class="link" href="class-gtkcolorselectiondialog.html" title="gtk.ColorSelectionDialog"><code class="classname">gtk.ColorSelectionDialog</code></a>
12
12
                        implements 
13
13
                        <a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
14
 
                </p></div><div class="refsect1" lang="en"><a name="properties-gtkcolorselectiondialog"></a><h2>gtk.ColorSelectionDialog Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><p><a class="link" href="class-gtkcontainer.html#properties-gtkcontainer" title="gtk.Container Properties">gtk.Container Properties</a></p><p><a class="link" href="class-gtkwindow.html#properties-gtkwindow" title="gtk.Window Properties">gtk.Window Properties</a></p><p><a class="link" href="class-gtkdialog.html#properties-gtkdialog" title="gtk.Dialog Properties">gtk.Dialog Properties</a></p></div><div class="refsect1" lang="en"><a name="style-properties-gtkcolorselectiondialog"></a><h2>gtk.ColorSelectionDialog Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p><p><a class="link" href="class-gtkdialog.html#style-properties-gtkdialog" title="gtk.Dialog Style Properties">gtk.Dialog Style Properties</a></p></div><div class="refsect1" lang="en"><a name="id3431018"></a><h2>Attributes</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col><col><col></colgroup><tbody><tr valign="top"><td valign="top">"colorsel"</td><td valign="top">Read</td><td valign="top">The <a class="link" href="class-gtkcolorselection.html" title="gtk.ColorSelection"><code class="classname">gtk.ColorSelection</code></a> 
15
 
widget contained in the dialog.</td></tr><tr valign="top"><td valign="top">"ok_button"</td><td valign="top">Read</td><td valign="top">The "OK" button contained in the dialog.</td></tr><tr valign="top"><td valign="top">"cancel_button"</td><td valign="top">Read</td><td valign="top">The "Cancel" button contained in the dialog.</td></tr><tr valign="top"><td valign="top">"help_button"</td><td valign="top">Read</td><td valign="top">The "Help" button contained in the dialog.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkcolorselectiondialog"></a><h2>gtk.ColorSelectionDialog Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkcontainer.html#signal-prototypes-gtkcontainer" title="gtk.Container Signal Prototypes">gtk.Container Signal Prototypes</a></p><p><a class="link" href="class-gtkwindow.html#signal-prototypes-gtkwindow" title="gtk.Window Signal Prototypes">gtk.Window Signal Prototypes</a></p><p><a class="link" href="class-gtkdialog.html#signal-prototypes-gtkdialog" title="gtk.Dialog Signal Prototypes">gtk.Dialog Signal Prototypes</a></p></div><div class="refsect1" lang="en"><a name="id3431176"></a><h2>Description</h2><p>The <a class="link" href="class-gtkcolorselectiondialog.html" title="gtk.ColorSelectionDialog"><code class="classname">gtk.ColorSelectionDialog</code></a> 
 
14
                </p></div><div class="refsect1" lang="en"><a name="properties-gtkcolorselectiondialog"></a><h2>gtk.ColorSelectionDialog Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><p><a class="link" href="class-gtkcontainer.html#properties-gtkcontainer" title="gtk.Container Properties">gtk.Container Properties</a></p><p><a class="link" href="class-gtkwindow.html#properties-gtkwindow" title="gtk.Window Properties">gtk.Window Properties</a></p><p><a class="link" href="class-gtkdialog.html#properties-gtkdialog" title="gtk.Dialog Properties">gtk.Dialog Properties</a></p></div><div class="refsect1" lang="en"><a name="style-properties-gtkcolorselectiondialog"></a><h2>gtk.ColorSelectionDialog Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p><p><a class="link" href="class-gtkdialog.html#style-properties-gtkdialog" title="gtk.Dialog Style Properties">gtk.Dialog Style Properties</a></p></div><div class="refsect1" lang="en"><a name="id3631852"></a><h2>Attributes</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col><col><col></colgroup><tbody><tr valign="top"><td valign="top">"colorsel"</td><td valign="top">Read</td><td valign="top">The <a class="link" href="class-gtkcolorselection.html" title="gtk.ColorSelection"><code class="classname">gtk.ColorSelection</code></a> 
 
15
widget contained in the dialog.</td></tr><tr valign="top"><td valign="top">"ok_button"</td><td valign="top">Read</td><td valign="top">The "OK" button contained in the dialog.</td></tr><tr valign="top"><td valign="top">"cancel_button"</td><td valign="top">Read</td><td valign="top">The "Cancel" button contained in the dialog.</td></tr><tr valign="top"><td valign="top">"help_button"</td><td valign="top">Read</td><td valign="top">The "Help" button contained in the dialog.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkcolorselectiondialog"></a><h2>gtk.ColorSelectionDialog Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkcontainer.html#signal-prototypes-gtkcontainer" title="gtk.Container Signal Prototypes">gtk.Container Signal Prototypes</a></p><p><a class="link" href="class-gtkwindow.html#signal-prototypes-gtkwindow" title="gtk.Window Signal Prototypes">gtk.Window Signal Prototypes</a></p><p><a class="link" href="class-gtkdialog.html#signal-prototypes-gtkdialog" title="gtk.Dialog Signal Prototypes">gtk.Dialog Signal Prototypes</a></p></div><div class="refsect1" lang="en"><a name="id3632010"></a><h2>Description</h2><p>The <a class="link" href="class-gtkcolorselectiondialog.html" title="gtk.ColorSelectionDialog"><code class="classname">gtk.ColorSelectionDialog</code></a> 
16
16
provides a standard dialog that allows a user to select a color. The <a class="link" href="class-gtkcolorselectiondialog.html" title="gtk.ColorSelectionDialog"><code class="classname">gtk.ColorSelectionDialog</code></a> 
17
17
uses an embedded <a class="link" href="class-gtkcolorselection.html" title="gtk.ColorSelection"><code class="classname">gtk.ColorSelection</code></a> 
18
18
to provide color selection capability.</p><p>Use the attributes (ok_button, cancel_button and help_button) of
24
24
method.</p></div><div class="refsect1" lang="en"><a name="constructor-gtkcolorselectiondialog"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.ColorSelectionDialog</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>title</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>title</code></strong> :</span></p></td><td>a string to be used as the dialog
25
25
title.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new colorselectiondialog</td></tr></tbody></table><p>Creates a new <code class="classname">gtk.ColorSelectionDialog</code>
26
26
using the string contained in <em class="parameter"><code>title</code></em> as the text for
27
 
the dialog title.</p></div><div class="refsect1" lang="en"><a name="id3431299"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkcolorselectiondialog--get-color-selection"></a><h3>gtk.Frame.get_color_selection</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_color_selection</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>the embedded <a class="link" href="class-gtkcolorselection.html" title="gtk.ColorSelection">
 
27
the dialog title.</p></div><div class="refsect1" lang="en"><a name="id3632134"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkcolorselectiondialog--get-color-selection"></a><h3>gtk.Frame.get_color_selection</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_color_selection</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>the embedded <a class="link" href="class-gtkcolorselection.html" title="gtk.ColorSelection">
28
28
          <code class="classname">gtk.ColorSelection</code></a>.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.14 and above.</p></div><p>
29
29
        The <code class="methodname">get_color_selection</code>() method retrieves the
30
30
        <a class="link" href="class-gtkcolorselection.html" title="gtk.ColorSelection"><code class="classname">gtk.ColorSelection</code></a>