/usr/share/doc/libgtk-3-doc/gtk3/GtkColorSelectionDialog.html is in libgtk-3-doc 3.4.2-0ubuntu0.9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkColorSelectionDialog</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
<link rel="up" href="SelectorWidgets.html" title="Selectors (Color/File/Font)">
<link rel="prev" href="GtkColorSelection.html" title="GtkColorSelection">
<link rel="next" href="GtkHSV.html" title="GtkHSV">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkColorSelection.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="SelectorWidgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 3 Reference Manual</th>
<td><a accesskey="n" href="GtkHSV.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkColorSelectionDialog.synopsis" class="shortcut">Top</a>
|
<a href="#GtkColorSelectionDialog.description" class="shortcut">Description</a>
|
<a href="#GtkColorSelectionDialog.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GtkColorSelectionDialog.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#GtkColorSelectionDialog.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GtkColorSelectionDialog"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkColorSelectionDialog.top_of_page"></a>GtkColorSelectionDialog</span></h2>
<p>GtkColorSelectionDialog — Deprecated dialog box for selecting a color</p>
</td>
<td valign="top" align="right"><img src="colorsel.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkColorSelectionDialog.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
struct <a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog-struct" title="struct GtkColorSelectionDialog">GtkColorSelectionDialog</a>;
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-new" title="gtk_color_selection_dialog_new ()">gtk_color_selection_dialog_new</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-get-color-selection" title="gtk_color_selection_dialog_get_color_selection ()">gtk_color_selection_dialog_get_color_selection</a>
(<em class="parameter"><code><a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> *colorsel</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
+----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
+----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
+----<a class="link" href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
+----<a class="link" href="GtkDialog.html" title="GtkDialog">GtkDialog</a>
+----GtkColorSelectionDialog
</pre>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkColorSelectionDialog implements
AtkImplementorIface and <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--cancel-button" title='The "cancel-button" property'>cancel-button</a>" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read
"<a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--color-selection" title='The "color-selection" property'>color-selection</a>" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read
"<a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--help-button" title='The "help-button" property'>help-button</a>" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read
"<a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--ok-button" title='The "ok-button" property'>ok-button</a>" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read
</pre>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.description"></a><h2>Description</h2>
<p>
The <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> provides a standard dialog which
allows the user to select a color much like the <span class="type">GtkFileSelection</span>
provides a standard dialog for file selection.
</p>
<p>
Use <a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-get-color-selection" title="gtk_color_selection_dialog_get_color_selection ()"><code class="function">gtk_color_selection_dialog_get_color_selection()</code></a> to get the
<a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> widget contained within the dialog. Use this widget
and its <a class="link" href="GtkColorSelection.html#gtk-color-selection-get-current-color" title="gtk_color_selection_get_current_color ()"><code class="function">gtk_color_selection_get_current_color()</code></a>
function to gain access to the selected color. Connect a handler
for this widget's <a class="link" href="GtkColorSelection.html#GtkColorSelection-color-changed" title='The "color-changed" signal'><span class="type">"color-changed"</span></a> signal to be notified
when the color changes.
</p>
<p>
</p>
<div class="refsect2">
<a name="GtkColorSelectionDialog-BUILDER-UI"></a><h3>GtkColorSelectionDialog as GtkBuildable</h3>
The GtkColorSelectionDialog implementation of the GtkBuildable interface
exposes the embedded <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> as internal child with the
name "color_selection". It also exposes the buttons with the names
"ok_button", "cancel_button" and "help_button".
</div>
<p>
</p>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkColorSelectionDialog-struct"></a><h3>struct GtkColorSelectionDialog</h3>
<pre class="programlisting">struct GtkColorSelectionDialog;</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-color-selection-dialog-new"></a><h3>gtk_color_selection_dialog_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_color_selection_dialog_new (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
<p>
Creates a new <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>a string containing the title text for the dialog.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-color-selection-dialog-get-color-selection"></a><h3>gtk_color_selection_dialog_get_color_selection ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_color_selection_dialog_get_color_selection
(<em class="parameter"><code><a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> *colorsel</code></em>);</pre>
<p>
Retrieves the <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> widget embedded in the dialog.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>colorsel</code></em> :</span></p></td>
<td>a <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the embedded <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkColorSelectionDialog--cancel-button"></a><h3>The <code class="literal">"cancel-button"</code> property</h3>
<pre class="programlisting"> "cancel-button" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read</pre>
<p>The cancel button of the dialog.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkColorSelectionDialog--color-selection"></a><h3>The <code class="literal">"color-selection"</code> property</h3>
<pre class="programlisting"> "color-selection" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read</pre>
<p>The color selection embedded in the dialog.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkColorSelectionDialog--help-button"></a><h3>The <code class="literal">"help-button"</code> property</h3>
<pre class="programlisting"> "help-button" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read</pre>
<p>The help button of the dialog.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkColorSelectionDialog--ok-button"></a><h3>The <code class="literal">"ok-button"</code> property</h3>
<pre class="programlisting"> "ok-button" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read</pre>
<p>The OK button of the dialog.</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|