/usr/share/gtk-doc/html/libgwydgets/GwyGraph.html is in libgwyddion20-doc 2.26-1ubuntu1.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GwyGraph</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Gwyddion Widgets Library Reference Manual">
<link rel="up" href="GraphWidgets.html" title="Graphs">
<link rel="prev" href="GraphWidgets.html" title="Graphs">
<link rel="next" href="GwyGraphWindow.html" title="GwyGraphWindow">
<meta name="generator" content="GTK-Doc V1.8 (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="GraphWidgets.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="GraphWidgets.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">Gwyddion Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GwyGraphWindow.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GwyGraph.synopsis" class="shortcut">Top</a>
|
<a href="#GwyGraph.description" class="shortcut">Description</a>
|
<a href="#GwyGraph.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GwyGraph.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#GwyGraph.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GwyGraph"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GwyGraph.top_of_page"></a>GwyGraph</span></h2>
<p>GwyGraph — Widget for displaying graphs</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GwyGraph.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libgwydgets/gwydgets.h>
struct <a class="link" href="GwyGraph.html#GwyGraph-struct" title="struct GwyGraph">GwyGraph</a>;
struct <a class="link" href="GwyGraph.html#GwyGraphClass" title="struct GwyGraphClass">GwyGraphClass</a>;
<span class="returnvalue">void</span> <a class="link" href="GwyGraph.html#gwy-graph-enable-user-input" title="gwy_graph_enable_user_input ()">gwy_graph_enable_user_input</a> (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</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> enable</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="GwyGraph.html#gwy-graph-export-pixmap" title="gwy_graph_export_pixmap ()">gwy_graph_export_pixmap</a> (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</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> export_title</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> export_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> export_labels</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> * <a class="link" href="GwyGraph.html#gwy-graph-export-postscript" title="gwy_graph_export_postscript ()">gwy_graph_export_postscript</a> (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</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> export_title</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> export_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> export_labels</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Strings.html#GString"><span class="type">GString</span></a> *str</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="GwyGraph.html#gwy-graph-get-area" title="gwy_graph_get_area ()">gwy_graph_get_area</a> (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>);
<a class="link" href="GwyAxis.html" title="GwyAxis"><span class="returnvalue">GwyAxis</span></a> * <a class="link" href="GwyGraph.html#gwy-graph-get-axis" title="gwy_graph_get_axis ()">gwy_graph_get_axis</a> (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/gtk-Standard-Enumerations.html#GtkPositionType"><span class="type">GtkPositionType</span></a> type</code></em>);
<a class="link" href="GwyGraphModel.html" title="GwyGraphModel"><span class="returnvalue">GwyGraphModel</span></a> * <a class="link" href="GwyGraph.html#gwy-graph-get-model" title="gwy_graph_get_model ()">gwy_graph_get_model</a> (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>);
<a class="link" href="libgwydgets-gwydgetenums.html#GwyGraphStatusType" title="enum GwyGraphStatusType"><span class="returnvalue">GwyGraphStatusType</span></a> <a class="link" href="GwyGraph.html#gwy-graph-get-status" title="gwy_graph_get_status ()">gwy_graph_get_status</a> (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</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="GwyGraph.html#gwy-graph-new" title="gwy_graph_new ()">gwy_graph_new</a> (<em class="parameter"><code><a class="link" href="GwyGraphModel.html" title="GwyGraphModel"><span class="type">GwyGraphModel</span></a> *gmodel</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyGraph.html#gwy-graph-set-axis-visible" title="gwy_graph_set_axis_visible ()">gwy_graph_set_axis_visible</a> (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/gtk-Standard-Enumerations.html#GtkPositionType"><span class="type">GtkPositionType</span></a> type</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> is_visible</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyGraph.html#gwy-graph-set-model" title="gwy_graph_set_model ()">gwy_graph_set_model</a> (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="GwyGraphModel.html" title="GwyGraphModel"><span class="type">GwyGraphModel</span></a> *gmodel</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyGraph.html#gwy-graph-set-status" title="gwy_graph_set_status ()">gwy_graph_set_status</a> (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#GwyGraphStatusType" title="enum GwyGraphStatusType"><span class="type">GwyGraphStatusType</span></a> status</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GwyGraph.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="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a href="/usr/share/gtk-doc/html/gtk/GtkObject.html">GtkObject</a>
+----<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html">GtkWidget</a>
+----<a href="/usr/share/gtk-doc/html/gtk/GtkContainer.html">GtkContainer</a>
+----<a href="/usr/share/gtk-doc/html/gtk/GtkTable.html">GtkTable</a>
+----GwyGraph
</pre>
</div>
<div class="refsect1">
<a name="GwyGraph.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GwyGraph implements
AtkImplementorIface and <a href="/usr/share/gtk-doc/html/gtk/GtkBuildable.html">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="GwyGraph.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GwyGraph.html#GwyGraph--model" title='The "model" property'>model</a>" <a class="link" href="GwyGraphModel.html" title="GwyGraphModel"><span class="type">GwyGraphModel</span></a>* : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GwyGraph.description"></a><h2>Description</h2>
<p>
<a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> is a basic widget for displaying graphs.
It consists of several widgets that can also be used separately (at least
in principle):
<a class="link" href="GwyGraphArea.html" title="GwyGraphArea"><span class="type">GwyGraphArea</span></a> forms the main part of the graph,
<a class="link" href="GwyAxis.html" title="GwyAxis"><span class="type">GwyAxis</span></a> is used for the axes,
<a class="link" href="GwyGraphLabel.html" title="GwyGraphLabel"><span class="type">GwyGraphLabel</span></a> represents the key
and <a class="link" href="GwyGraphCorner.html" title="GwyGraphCorner"><span class="type">GwyGraphCorner</span></a> is a dummy widget (at this moment) used for graph
corners.
</p>
<p>
Persisent graph properties and data are represented with <a class="link" href="GwyGraphModel.html" title="GwyGraphModel"><span class="type">GwyGraphModel</span></a>.
Changes to the model are automatically reflected in the graph.
</p>
</div>
<div class="refsect1">
<a name="GwyGraph.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GwyGraph-struct"></a><h3>struct GwyGraph</h3>
<pre class="programlisting">struct GwyGraph;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyGraphClass"></a><h3>struct GwyGraphClass</h3>
<pre class="programlisting">struct GwyGraphClass {
GtkTableClass parent_class;
void (*reserved1)(void);
void (*reserved2)(void);
void (*reserved3)(void);
void (*reserved4)(void);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-enable-user-input"></a><h3>gwy_graph_enable_user_input ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_graph_enable_user_input (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</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> enable</code></em>);</pre>
<p>
Enables/disables all the graph/curve settings dialogs to be invoked by
mouse clicks.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>A graph widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>enable</code></em> :</span></p></td>
<td>whether to enable user input</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-export-pixmap"></a><h3>gwy_graph_export_pixmap ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gwy_graph_export_pixmap (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</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> export_title</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> export_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> export_labels</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-export-postscript"></a><h3>gwy_graph_export_postscript ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> * gwy_graph_export_postscript (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</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> export_title</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> export_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> export_labels</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="type">GString</span></a> *str</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-get-area"></a><h3>gwy_graph_get_area ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gwy_graph_get_area (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>);</pre>
<p>
Gets the area widget of a graph.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>A graph widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The graph area widget within the graph.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-get-axis"></a><h3>gwy_graph_get_axis ()</h3>
<pre class="programlisting"><a class="link" href="GwyAxis.html" title="GwyAxis"><span class="returnvalue">GwyAxis</span></a> * gwy_graph_get_axis (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkPositionType"><span class="type">GtkPositionType</span></a> type</code></em>);</pre>
<p>
Gets a graph axis.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>A graph widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>Axis orientation</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The axis (of given orientation) within the graph widget.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-get-model"></a><h3>gwy_graph_get_model ()</h3>
<pre class="programlisting"><a class="link" href="GwyGraphModel.html" title="GwyGraphModel"><span class="returnvalue">GwyGraphModel</span></a> * gwy_graph_get_model (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>);</pre>
<p>
Gets the model of a graph.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>A graph widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The graph model this graph widget displays.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-get-status"></a><h3>gwy_graph_get_status ()</h3>
<pre class="programlisting"><a class="link" href="libgwydgets-gwydgetenums.html#GwyGraphStatusType" title="enum GwyGraphStatusType"><span class="returnvalue">GwyGraphStatusType</span></a> gwy_graph_get_status (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>);</pre>
<p>
Get the status of a graph widget.
</p>
<p>
See <a class="link" href="GwyGraph.html#gwy-graph-set-status" title="gwy_graph_set_status ()"><code class="function">gwy_graph_set_status()</code></a> for more.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>A graph widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The current graph status.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-new"></a><h3>gwy_graph_new ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gwy_graph_new (<em class="parameter"><code><a class="link" href="GwyGraphModel.html" title="GwyGraphModel"><span class="type">GwyGraphModel</span></a> *gmodel</code></em>);</pre>
<p>
Creates graph widget based on information in model.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gmodel</code></em> :</span></p></td>
<td>A graph model.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>new graph widget.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-set-axis-visible"></a><h3>gwy_graph_set_axis_visible ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_graph_set_axis_visible (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkPositionType"><span class="type">GtkPositionType</span></a> type</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> is_visible</code></em>);</pre>
<p>
Sets the visibility of graph axis of given orientation. Visibility
can be set also directly using GwyAxis API.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>A graph widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>Axis orientation</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>is_visible</code></em> :</span></p></td>
<td>set/unset axis visibility within graph widget</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-set-model"></a><h3>gwy_graph_set_model ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_graph_set_model (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="GwyGraphModel.html" title="GwyGraphModel"><span class="type">GwyGraphModel</span></a> *gmodel</code></em>);</pre>
<p>
Changes the model a graph displays.
</p>
<p>
Everything in graph widgets will be reset to reflect the new data.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>A graph widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gmodel</code></em> :</span></p></td>
<td>New graph model</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-set-status"></a><h3>gwy_graph_set_status ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_graph_set_status (<em class="parameter"><code><a class="link" href="GwyGraph.html" title="GwyGraph"><span class="type">GwyGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#GwyGraphStatusType" title="enum GwyGraphStatusType"><span class="type">GwyGraphStatusType</span></a> status</code></em>);</pre>
<p>
Sets the status of a graph widget.
</p>
<p>
The status determines how the graph reacts on mouse events.
This includes point or area selection and zooming.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>A graph widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>status</code></em> :</span></p></td>
<td>graph status</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GwyGraph.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GwyGraph--model"></a><h3>The <code class="literal">"model"</code> property</h3>
<pre class="programlisting"> "model" <a class="link" href="GwyGraphModel.html" title="GwyGraphModel"><span class="type">GwyGraphModel</span></a>* : Read / Write</pre>
<p>The graph model of the graph. (Since: 2.7).</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.8</div>
</body>
</html>
|