/usr/share/gtk-doc/html/libgwydgets/GwyColorAxis.html is in libgwyddion20-doc 2.34-3ubuntu1.
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 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gwyddion Widgets Library Reference Manual: GwyColorAxis</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Gwyddion Widgets Library Reference Manual">
<link rel="up" href="DataWindowWidgets.html" title="Data Windows and Views">
<link rel="prev" href="GwyLayerMask.html" title="GwyLayerMask">
<link rel="next" href="standard-vector-layers.html" title="Standard Vector Layers">
<meta name="generator" content="GTK-Doc V1.19 (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="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
|
<a href="#GwyColorAxis.description" class="shortcut">Description</a>
|
<a href="#GwyColorAxis.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GwyColorAxis.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#GwyColorAxis.properties" class="shortcut">Properties</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="DataWindowWidgets.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GwyLayerMask.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="standard-vector-layers.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GwyColorAxis"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GwyColorAxis.top_of_page"></a>GwyColorAxis</span></h2>
<p>GwyColorAxis — Simple axis with a false color scale</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GwyColorAxis.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libgwydgets/gwydgets.h>
struct <a class="link" href="GwyColorAxis.html#GwyColorAxis-struct" title="struct GwyColorAxis">GwyColorAxis</a>;
struct <a class="link" href="GwyColorAxis.html#GwyColorAxisClass" title="struct GwyColorAxisClass">GwyColorAxisClass</a>;
<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GwyColorAxis.html#gwy-color-axis-new" title="gwy_color_axis_new ()">gwy_color_axis_new</a> (<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GwyColorAxis.html#gwy-color-axis-new-with-range" title="gwy_color_axis_new_with_range ()">gwy_color_axis_new_with_range</a> (<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyColorAxis.html#gwy-color-axis-get-range" title="gwy_color_axis_get_range ()">gwy_color_axis_get_range</a> (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *min</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *max</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyColorAxis.html#gwy-color-axis-set-range" title="gwy_color_axis_set_range ()">gwy_color_axis_set_range</a> (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>);
<a href="../libgwyddion/GwySIUnit.html"><span class="returnvalue">GwySIUnit</span></a> * <a class="link" href="GwyColorAxis.html#gwy-color-axis-get-si-unit" title="gwy_color_axis_get_si_unit ()">gwy_color_axis_get_si_unit</a> (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyColorAxis.html#gwy-color-axis-set-si-unit" title="gwy_color_axis_set_si_unit ()">gwy_color_axis_set_si_unit</a> (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code><a href="../libgwyddion/GwySIUnit.html"><span class="type">GwySIUnit</span></a> *unit</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyColorAxis.html#gwy-color-axis-set-gradient" title="gwy_color_axis_set_gradient ()">gwy_color_axis_set_gradient</a> (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *gradient</code></em>);
const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GwyColorAxis.html#gwy-color-axis-get-gradient" title="gwy_color_axis_get_gradient ()">gwy_color_axis_get_gradient</a> (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>);
<a class="link" href="libgwydgets-gwydgetenums.html#GwyTicksStyle" title="enum GwyTicksStyle"><span class="returnvalue">GwyTicksStyle</span></a> <a class="link" href="GwyColorAxis.html#gwy-color-axis-get-ticks-style" title="gwy_color_axis_get_ticks_style ()">gwy_color_axis_get_ticks_style</a> (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyColorAxis.html#gwy-color-axis-set-ticks-style" title="gwy_color_axis_set_ticks_style ()">gwy_color_axis_set_ticks_style</a> (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#GwyTicksStyle" title="enum GwyTicksStyle"><span class="type">GwyTicksStyle</span></a> ticks_style</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GwyColorAxis.html#gwy-color-axis-get-labels-visible" title="gwy_color_axis_get_labels_visible ()">gwy_color_axis_get_labels_visible</a> (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyColorAxis.html#gwy-color-axis-set-labels-visible" title="gwy_color_axis_set_labels_visible ()">gwy_color_axis_set_labels_visible</a> (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> labels_visible</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GwyColorAxis.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a href="/usr/share/gtk-doc/html/gtk2/GtkObject.html">GtkObject</a>
+----<a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html">GtkWidget</a>
+----GwyColorAxis
</pre>
</div>
<div class="refsect1">
<a name="GwyColorAxis.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GwyColorAxis implements
AtkImplementorIface and <a href="/usr/share/gtk-doc/html/gtk3/GtkBuildable.html">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="GwyColorAxis.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GwyColorAxis.html#GwyColorAxis--gradient" title='The "gradient" property'>gradient</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GwyColorAxis.html#GwyColorAxis--labels-visible" title='The "labels-visible" property'>labels-visible</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="GwyColorAxis.html#GwyColorAxis--orientation" title='The "orientation" property'>orientation</a>" <a href="/usr/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> : Read / Write / Construct Only
"<a class="link" href="GwyColorAxis.html#GwyColorAxis--si-unit" title='The "si-unit" property'>si-unit</a>" <a href="../libgwyddion/GwySIUnit.html"><span class="type">GwySIUnit</span></a>* : Read / Write
"<a class="link" href="GwyColorAxis.html#GwyColorAxis--ticks-style" title='The "ticks-style" property'>ticks-style</a>" <a class="link" href="libgwydgets-gwydgetenums.html#GwyTicksStyle" title="enum GwyTicksStyle"><span class="type">GwyTicksStyle</span></a> : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GwyColorAxis.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="GwyColorAxis.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GwyColorAxis-struct"></a><h3>struct GwyColorAxis</h3>
<pre class="programlisting">struct GwyColorAxis;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyColorAxisClass"></a><h3>struct GwyColorAxisClass</h3>
<pre class="programlisting">struct GwyColorAxisClass {
GtkWidgetClass parent_class;
void (*reserved1)(void);
void (*reserved2)(void);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-new"></a><h3>gwy_color_axis_new ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gwy_color_axis_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);</pre>
<p>
Creates a new color axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
<td>The orientation of the axis.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The newly created color axis as a <a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-new-with-range"></a><h3>gwy_color_axis_new_with_range ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gwy_color_axis_new_with_range (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>);</pre>
<p>
Creates a new color axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
<td>The orientation of the axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min</code></em> :</span></p></td>
<td>The minimum.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td>The maximum.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The newly created color axis as a <a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-get-range"></a><h3>gwy_color_axis_get_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_color_axis_get_range (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *min</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *max</code></em>);</pre>
<p>
Gets the range of a color axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>A color axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min</code></em> :</span></p></td>
<td>Location to store the range maximum (or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td>Location to store the range minimum (or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-set-range"></a><h3>gwy_color_axis_set_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_color_axis_set_range (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>);</pre>
<p>
Sets the range of a color axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>A color axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min</code></em> :</span></p></td>
<td>The range minimum.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td>The range maximum.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-get-si-unit"></a><h3>gwy_color_axis_get_si_unit ()</h3>
<pre class="programlisting"><a href="../libgwyddion/GwySIUnit.html"><span class="returnvalue">GwySIUnit</span></a> * gwy_color_axis_get_si_unit (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>);</pre>
<p>
Gets the SI unit a color axis displays.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>A color axis.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The SI unit.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-set-si-unit"></a><h3>gwy_color_axis_set_si_unit ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_color_axis_set_si_unit (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code><a href="../libgwyddion/GwySIUnit.html"><span class="type">GwySIUnit</span></a> *unit</code></em>);</pre>
<p>
Sets the SI unit a color axis displays.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>A color axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
<td>A SI unit to display next to minimum and maximum value.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-set-gradient"></a><h3>gwy_color_axis_set_gradient ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_color_axis_set_gradient (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *gradient</code></em>);</pre>
<p>
Sets the color gradient a color axis should use.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>A color axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gradient</code></em> :</span></p></td>
<td>Name of gradient <em class="parameter"><code>axis</code></em> should use. It should exist.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-get-gradient"></a><h3>gwy_color_axis_get_gradient ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gwy_color_axis_get_gradient (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>);</pre>
<p>
Gets the color gradient a color axis uses.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>A color axis.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The color gradient.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-get-ticks-style"></a><h3>gwy_color_axis_get_ticks_style ()</h3>
<pre class="programlisting"><a class="link" href="libgwydgets-gwydgetenums.html#GwyTicksStyle" title="enum GwyTicksStyle"><span class="returnvalue">GwyTicksStyle</span></a> gwy_color_axis_get_ticks_style (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>);</pre>
<p>
Gets ticks style of a color axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>A color axis.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The ticks style.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-set-ticks-style"></a><h3>gwy_color_axis_set_ticks_style ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_color_axis_set_ticks_style (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#GwyTicksStyle" title="enum GwyTicksStyle"><span class="type">GwyTicksStyle</span></a> ticks_style</code></em>);</pre>
<p>
Sets the ticks style of a color axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>A color axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ticks_style</code></em> :</span></p></td>
<td>The ticks style to use.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-get-labels-visible"></a><h3>gwy_color_axis_get_labels_visible ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gwy_color_axis_get_labels_visible (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>);</pre>
<p>
Gets the visibility of labels of a color axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>A color axis.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if labels are displayed, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if they are omitted.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-axis-set-labels-visible"></a><h3>gwy_color_axis_set_labels_visible ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_color_axis_set_labels_visible (<em class="parameter"><code><a class="link" href="GwyColorAxis.html" title="GwyColorAxis"><span class="type">GwyColorAxis</span></a> *axis</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> labels_visible</code></em>);</pre>
<p>
Sets the visibility of labels of a color axis.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
<td>A color axis.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>labels_visible</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to display labels with minimum and maximum values,
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to display no labels.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GwyColorAxis.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GwyColorAxis--gradient"></a><h3>The <code class="literal">"gradient"</code> property</h3>
<pre class="programlisting"> "gradient" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>Name of color gradient the axis displays.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyColorAxis--labels-visible"></a><h3>The <code class="literal">"labels-visible"</code> property</h3>
<pre class="programlisting"> "labels-visible" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Whether minimum and maximum labels are visible.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyColorAxis--orientation"></a><h3>The <code class="literal">"orientation"</code> property</h3>
<pre class="programlisting"> "orientation" <a href="/usr/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> : Read / Write / Construct Only</pre>
<p>Axis orientation.</p>
<p>Default value: GTK_ORIENTATION_VERTICAL</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyColorAxis--si-unit"></a><h3>The <code class="literal">"si-unit"</code> property</h3>
<pre class="programlisting"> "si-unit" <a href="../libgwyddion/GwySIUnit.html"><span class="type">GwySIUnit</span></a>* : Read / Write</pre>
<p>SI unit to display in labels.</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyColorAxis--ticks-style"></a><h3>The <code class="literal">"ticks-style"</code> property</h3>
<pre class="programlisting"> "ticks-style" <a class="link" href="libgwydgets-gwydgetenums.html#GwyTicksStyle" title="enum GwyTicksStyle"><span class="type">GwyTicksStyle</span></a> : Read / Write</pre>
<p>The style of axis ticks.</p>
<p>Default value: GWY_TICKS_STYLE_AUTO</p>
</div>
</div>
<div class="refsect1">
<a name="GwyColorAxis.see-also"></a><h2>See Also</h2>
<a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> -- Axis for use in graphs,
<a class="link" href="GwyRuler.html" title="GwyRuler"><span class="type">GwyRuler</span></a> -- Horizontal and vertical rulers
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|