21
21
the colorselection widget. Connect a handler to its "color-changed" signal
22
22
to be notified when the color is changed. The current color can be retrieved
23
23
using the <a class="link" href="class-gtkcolorselection.html#method-gtkcolorselection--get-current-color" title="gtk.ColorSelection.get_current_color"><code class="methodname">gtk.ColorSelection.get_current_color</code>()</a>
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
24
method.</p></div><div class="refsect1" title="Constructor"><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="id3455238"></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" title="Methods"><a name="id3764406"></a><h2>Methods</h2><div class="refsect2" title="gtk.Frame.get_color_selection"><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">
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>
31
31
widget embedded in the dialog.