4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>GimpColorNotebook</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
8
8
<link rel="up" href="libgimpwidgets-colorselector.html" title="Part III. GIMP Color Selectors">
9
9
<link rel="prev" href="GimpColorSelector.html" title="GimpColorSelector">
10
10
<link rel="next" href="GimpColorScales.html" title="GimpColorScales">
11
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
14
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
15
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
15
16
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
16
17
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part II. GIMP Display Filters">
17
18
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part III. GIMP Color Selectors">
18
19
<link rel="part" href="libgimpwidgets-controller.html" title="Part IV. GIMP Controllers">
19
20
<link rel="part" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
20
21
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
22
<link rel="index" href="libgimpwidgets-index.html" title="Index">
23
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
24
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
25
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
22
27
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
28
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
28
33
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
29
34
<td><a accesskey="n" href="GimpColorScales.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
33
<a href="#desc" class="shortcut">Description</a>
35
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
37
<a href="#style_properties" class="shortcut">Style Properties</a></nobr></td></tr>
36
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2579834" class="shortcut">Top</a>
38
<a href="#id2640099" class="shortcut">Description</a>
40
<a href="#id2630019" class="shortcut">Object Hierarchy</a>
42
<a href="#id2640036" class="shortcut">Implemented Interfaces</a>
44
<a href="#id2640057" class="shortcut">Style Properties</a></nobr></td></tr>
39
46
<div class="refentry" lang="en">
40
47
<a name="GimpColorNotebook"></a><div class="titlepage"></div>
41
48
<div class="refnamediv"><table width="100%"><tr>
43
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpColorNotebook</span></h2>
51
<a name="id2579834"></a><span class="refentrytitle">GimpColorNotebook</span>
44
53
<p>GimpColorNotebook — A <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> implementation.</p>
46
55
<td valign="top" align="right"></td>
47
56
</tr></table></div>
48
57
<div class="refsynopsisdiv">
49
<a name="synopsis"></a><h2>Synopsis</h2>
50
59
<pre class="synopsis">
54
<a href="GimpColorNotebook.html#GimpColorNotebook-struct">GimpColorNotebook</a>;
55
GtkWidget* <a href="GimpColorNotebook.html#gimp-color-notebook-set-has-page">gimp_color_notebook_set_has_page</a>
56
(<a href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
63
<a href="GimpColorNotebook.html#GimpColorNotebook-struct">GimpColorNotebook</a>;
64
GtkWidget* <a href="GimpColorNotebook.html#gimp-color-notebook-set-has-page">gimp_color_notebook_set_has_page</a> (<a href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
62
70
<div class="refsect1" lang="en">
63
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
71
<a name="id2630019"></a><h2>Object Hierarchy</h2>
64
72
<pre class="synopsis">
77
85
<div class="refsect1" lang="en">
78
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
86
<a name="id2640036"></a><h2>Implemented Interfaces</h2>
80
88
GimpColorNotebook implements
81
89
AtkImplementorIface.</p>
83
91
<div class="refsect1" lang="en">
84
<a name="style_properties"></a><h2>Style Properties</h2>
92
<a name="id2640057"></a><h2>Style Properties</h2>
85
93
<pre class="synopsis">
87
"<a href="GimpColorNotebook.html#GimpColorNotebook--tab-border">tab-border</a>" gint : Read
88
"<a href="GimpColorNotebook.html#GimpColorNotebook--tab-icon-size">tab-icon-size</a>" GtkIconSize : Read
95
"<a href="GimpColorNotebook.html#GimpColorNotebook--tab-border">tab-border</a>" gint : Read
96
"<a href="GimpColorNotebook.html#GimpColorNotebook--tab-icon-size">tab-icon-size</a>" GtkIconSize : Read
91
99
<div class="refsect1" lang="en">
92
<a name="desc"></a><h2>Description</h2>
100
<a name="id2640099"></a><h2>Description</h2>
94
102
The <a href="GimpColorNotebook.html" title="GimpColorNotebook"><span class="type">GimpColorNotebook</span></a> widget is an implementation of a <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a>.
95
103
It serves as a container for <span class="type">GimpColorSelectors</span>.
98
106
<div class="refsect1" lang="en">
99
<a name="details"></a><h2>Details</h2>
107
<a name="id2640136"></a><h2>Details</h2>
100
108
<div class="refsect2" lang="en">
101
<a name="id2580316"></a><h3>
109
<a name="id2640147"></a><h3>
102
110
<a name="GimpColorNotebook-struct"></a>GimpColorNotebook</h3>
103
<a class="indexterm" name="id2580327"></a><pre class="programlisting">typedef struct _GimpColorNotebook GimpColorNotebook;</pre>
111
<a class="indexterm" name="id2643507"></a><pre class="programlisting">typedef struct _GimpColorNotebook GimpColorNotebook;</pre>
109
117
<div class="refsect2" lang="en">
110
<a name="id2580344"></a><h3>
118
<a name="id2643523"></a><h3>
111
119
<a name="gimp-color-notebook-set-has-page"></a>gimp_color_notebook_set_has_page ()</h3>
112
<a class="indexterm" name="id2580355"></a><pre class="programlisting">GtkWidget* gimp_color_notebook_set_has_page
113
(<a href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
115
gboolean has_page);</pre>
120
<a class="indexterm" name="id2643534"></a><pre class="programlisting">GtkWidget* gimp_color_notebook_set_has_page (<a href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
122
gboolean has_page);</pre>
117
124
This function adds and removed pages to / from a <a href="GimpColorNotebook.html" title="GimpColorNotebook"><span class="type">GimpColorNotebook</span></a>.
118
125
The <em class="parameter"><code>page_type</code></em> passed must be a <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> subtype.</p>
123
130
<col align="left" valign="top">
127
<span class="term"><em class="parameter"><code>notebook</code></em> :</span></td>
133
<td><span class="term"><em class="parameter"><code>notebook</code></em> :</span></td>
128
134
<td> A <a href="GimpColorNotebook.html" title="GimpColorNotebook"><span class="type">GimpColorNotebook</span></a> widget.
133
<span class="term"><em class="parameter"><code>page_type</code></em> :</span></td>
138
<td><span class="term"><em class="parameter"><code>page_type</code></em> :</span></td>
134
139
<td> The <span class="type">GType</span> of the notebook page to add or remove.
139
<span class="term"><em class="parameter"><code>has_page</code></em> :</span></td>
143
<td><span class="term"><em class="parameter"><code>has_page</code></em> :</span></td>
140
144
<td> Whether the page should be added or removed.
145
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
148
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
146
149
<td> The new page widget, if <em class="parameter"><code>has_page</code></em> was <span class="type">TRUE</span>, or <span class="type">NULL</span>
147
150
if <em class="parameter"><code>has_page</code></em> was <span class="type">FALSE</span>.
154
157
<div class="refsect1" lang="en">
155
<a name="style_properties_details"></a><h2>Style Property Details</h2>
158
<a name="id2643708"></a><h2>Style Property Details</h2>
156
159
<div class="refsect2" lang="en">
157
<a name="id2590333"></a><h3>
160
<a name="id2643718"></a><h3>
158
161
<a name="GimpColorNotebook--tab-border"></a>The "<code class="literal">tab-border</code>" style property</h3>
159
<a class="indexterm" name="id2590347"></a><pre class="programlisting"> "tab-border" gint : Read</pre>
162
<a class="indexterm" name="id2643732"></a><pre class="programlisting"> "tab-border" gint : Read</pre>
160
163
<p>Width of the border around the tab contents.</p>
161
164
<p>Allowed values: >= 0</p>
162
165
<p>Default value: 0</p>
165
168
<div class="refsect2" lang="en">
166
<a name="id2590375"></a><h3>
169
<a name="id2638935"></a><h3>
167
170
<a name="GimpColorNotebook--tab-icon-size"></a>The "<code class="literal">tab-icon-size</code>" style property</h3>
168
<a class="indexterm" name="id2590390"></a><pre class="programlisting"> "tab-icon-size" GtkIconSize : Read</pre>
171
<a class="indexterm" name="id2638949"></a><pre class="programlisting"> "tab-icon-size" GtkIconSize : Read</pre>
169
172
<p>Size for icons displayed in the tab.</p>
170
173
<p>Default value: GTK_ICON_SIZE_BUTTON</p>