<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GtkPlotSegment</title> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="index.html" title="GtkExtra2 Reference Manual"> <link rel="up" href="ch01.html" title="Libraray Reference"> <link rel="prev" href="gtkextra-GtkPlotData.html" title="GtkPlotData"> <link rel="next" href="gtkextra-gtkextra-marshal.html" title="gtkextra-marshal"> <meta name="generator" content="GTK-Doc V1.11 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="chapter" href="ch01.html" title="Libraray Reference"> <link rel="chapter" href="objecttree.html" title="Object Hierarchy"> <link rel="index" href="api-index.html" title="API Index"> </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="gtkextra-GtkPlotData.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> <td><a accesskey="u" href="ch01.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">GtkExtra2 Reference Manual</th> <td><a accesskey="n" href="gtkextra-gtkextra-marshal.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> </tr> <tr><td colspan="5" class="shortcuts"> <a href="#gtkextra-GtkPlotSegment.synopsis" class="shortcut">Top</a> | <a href="#gtkextra-GtkPlotSegment.description" class="shortcut">Description</a> </td></tr> </table> <div class="refentry" title="GtkPlotSegment"> <a name="gtkextra-GtkPlotSegment"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="gtkextra-GtkPlotSegment.top_of_page"></a>GtkPlotSegment</span></h2> <p>GtkPlotSegment</p> </td> <td valign="top" align="right"></td> </tr></table></div> <div class="refsynopsisdiv" title="Synopsis"> <a name="gtkextra-GtkPlotSegment.synopsis"></a><h2>Synopsis</h2> <pre class="synopsis"> #include <gtkextra.h> enum <a class="link" href="gtkextra-GtkPlotSegment.html#GtkPlotArrow" title="enum GtkPlotArrow">GtkPlotArrow</a>; GtkWidget* <a class="link" href="gtkextra-GtkPlotSegment.html#gtk-plot-segment-new" title="gtk_plot_segment_new ()">gtk_plot_segment_new</a> (void); void <a class="link" href="gtkextra-GtkPlotSegment.html#gtk-plot-segment-set-relative" title="gtk_plot_segment_set_relative ()">gtk_plot_segment_set_relative</a> (GtkPlotSegment *segment, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> set); <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> <a class="link" href="gtkextra-GtkPlotSegment.html#gtk-plot-segment-relative" title="gtk_plot_segment_relative ()">gtk_plot_segment_relative</a> (GtkPlotSegment *segment); void <a class="link" href="gtkextra-GtkPlotSegment.html#gtk-plot-segment-set-arrow" title="gtk_plot_segment_set_arrow ()">gtk_plot_segment_set_arrow</a> (GtkPlotSegment *segment, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> arrow_length, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> arrow_width, <a class="link" href="gtkextra-GtkPlot.html#GtkPlotSymbolStyle" title="enum GtkPlotSymbolStyle">GtkPlotSymbolStyle</a> style); void <a class="link" href="gtkextra-GtkPlotSegment.html#gtk-plot-segment-get-arrow" title="gtk_plot_segment_get_arrow ()">gtk_plot_segment_get_arrow</a> (GtkPlotSegment *segment, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> *arrow_length, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> *arrow_width, <a class="link" href="gtkextra-GtkPlot.html#GtkPlotSymbolStyle" title="enum GtkPlotSymbolStyle">GtkPlotSymbolStyle</a> *style); void <a class="link" href="gtkextra-GtkPlotSegment.html#gtk-plot-segment-set-arrow-mask" title="gtk_plot_segment_set_arrow_mask ()">gtk_plot_segment_set_arrow_mask</a> (GtkPlotSegment *segment, <a class="link" href="gtkextra-GtkPlotSegment.html#GtkPlotArrow" title="enum GtkPlotArrow">GtkPlotArrow</a> mask); <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint" >guint</a> <a class="link" href="gtkextra-GtkPlotSegment.html#gtk-plot-segment-get-arrow-mask" title="gtk_plot_segment_get_arrow_mask ()">gtk_plot_segment_get_arrow_mask</a> (GtkPlotSegment *segment); void <a class="link" href="gtkextra-GtkPlotSegment.html#gtk-plot-segment-center" title="gtk_plot_segment_center ()">gtk_plot_segment_center</a> (GtkPlotSegment *segment, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> center); <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> <a class="link" href="gtkextra-GtkPlotSegment.html#gtk-plot-segment-is-centered" title="gtk_plot_segment_is_centered ()">gtk_plot_segment_is_centered</a> (GtkPlotSegment *segment); </pre> </div> <div class="refsect1" title="Description"> <a name="gtkextra-GtkPlotSegment.description"></a><h2>Description</h2> <p> </p> </div> <div class="refsect1" title="Details"> <a name="gtkextra-GtkPlotSegment.details"></a><h2>Details</h2> <div class="refsect2" title="enum GtkPlotArrow"> <a name="GtkPlotArrow"></a><h3>enum GtkPlotArrow</h3> <pre class="programlisting">typedef enum { GTK_PLOT_ARROW_NONE = 0, GTK_PLOT_ARROW_ORIGIN = 1 << 0, GTK_PLOT_ARROW_END = 1 << 1 } GtkPlotArrow; </pre> <p> </p> </div> <hr> <div class="refsect2" title="gtk_plot_segment_new ()"> <a name="gtk-plot-segment-new"></a><h3>gtk_plot_segment_new ()</h3> <pre class="programlisting">GtkWidget* gtk_plot_segment_new (void);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody><tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> <td> </td> </tr></tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_segment_set_relative ()"> <a name="gtk-plot-segment-set-relative"></a><h3>gtk_plot_segment_set_relative ()</h3> <pre class="programlisting">void gtk_plot_segment_set_relative (GtkPlotSegment *segment, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> set);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>segment</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>set</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_segment_relative ()"> <a name="gtk-plot-segment-relative"></a><h3>gtk_plot_segment_relative ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> gtk_plot_segment_relative (GtkPlotSegment *segment);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>segment</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_segment_set_arrow ()"> <a name="gtk-plot-segment-set-arrow"></a><h3>gtk_plot_segment_set_arrow ()</h3> <pre class="programlisting">void gtk_plot_segment_set_arrow (GtkPlotSegment *segment, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> arrow_length, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> arrow_width, <a class="link" href="gtkextra-GtkPlot.html#GtkPlotSymbolStyle" title="enum GtkPlotSymbolStyle">GtkPlotSymbolStyle</a> style);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>segment</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>arrow_length</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>arrow_width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_segment_get_arrow ()"> <a name="gtk-plot-segment-get-arrow"></a><h3>gtk_plot_segment_get_arrow ()</h3> <pre class="programlisting">void gtk_plot_segment_get_arrow (GtkPlotSegment *segment, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> *arrow_length, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint" >gint</a> *arrow_width, <a class="link" href="gtkextra-GtkPlot.html#GtkPlotSymbolStyle" title="enum GtkPlotSymbolStyle">GtkPlotSymbolStyle</a> *style);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>segment</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>arrow_length</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>arrow_width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_segment_set_arrow_mask ()"> <a name="gtk-plot-segment-set-arrow-mask"></a><h3>gtk_plot_segment_set_arrow_mask ()</h3> <pre class="programlisting">void gtk_plot_segment_set_arrow_mask (GtkPlotSegment *segment, <a class="link" href="gtkextra-GtkPlotSegment.html#GtkPlotArrow" title="enum GtkPlotArrow">GtkPlotArrow</a> mask);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>segment</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_segment_get_arrow_mask ()"> <a name="gtk-plot-segment-get-arrow-mask"></a><h3>gtk_plot_segment_get_arrow_mask ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint" >guint</a> gtk_plot_segment_get_arrow_mask (GtkPlotSegment *segment);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>segment</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_segment_center ()"> <a name="gtk-plot-segment-center"></a><h3>gtk_plot_segment_center ()</h3> <pre class="programlisting">void gtk_plot_segment_center (GtkPlotSegment *segment, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> center);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>segment</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>center</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_segment_is_centered ()"> <a name="gtk-plot-segment-is-centered"></a><h3>gtk_plot_segment_is_centered ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean" >gboolean</a> gtk_plot_segment_is_centered (GtkPlotSegment *segment);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>segment</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> </div> </div> <div class="footer"> <hr> Generated by GTK-Doc V1.11</div> </body> </html>