<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="gtkextra-GtkPlotSegment">
<refmeta>
<refentrytitle role="top_of_page" id="gtkextra-GtkPlotSegment.top_of_page">GtkPlotSegment</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTKEXTRA Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GtkPlotSegment</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="gtkextra-GtkPlotSegment.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>

#include &lt;gtkextra.h&gt;

enum                <link linkend="GtkPlotArrow">GtkPlotArrow</link>;
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gtk-plot-segment-new">gtk_plot_segment_new</link>                (void);
<link linkend="void">void</link>                <link linkend="gtk-plot-segment-set-relative">gtk_plot_segment_set_relative</link>       (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment,
                                                         <link linkend="gboolean">gboolean</link> set);
<link linkend="gboolean">gboolean</link>            <link linkend="gtk-plot-segment-relative">gtk_plot_segment_relative</link>           (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment);
<link linkend="void">void</link>                <link linkend="gtk-plot-segment-set-arrow">gtk_plot_segment_set_arrow</link>          (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment,
                                                         <link linkend="gint">gint</link> arrow_length,
                                                         <link linkend="gint">gint</link> arrow_width,
                                                         <link linkend="GtkPlotSymbolStyle">GtkPlotSymbolStyle</link> style);
<link linkend="void">void</link>                <link linkend="gtk-plot-segment-get-arrow">gtk_plot_segment_get_arrow</link>          (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment,
                                                         <link linkend="gint">gint</link> *arrow_length,
                                                         <link linkend="gint">gint</link> *arrow_width,
                                                         <link linkend="GtkPlotSymbolStyle">GtkPlotSymbolStyle</link> *style);
<link linkend="void">void</link>                <link linkend="gtk-plot-segment-set-arrow-mask">gtk_plot_segment_set_arrow_mask</link>     (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment,
                                                         <link linkend="GtkPlotArrow">GtkPlotArrow</link> mask);
<link linkend="guint">guint</link>               <link linkend="gtk-plot-segment-get-arrow-mask">gtk_plot_segment_get_arrow_mask</link>     (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment);
<link linkend="void">void</link>                <link linkend="gtk-plot-segment-center">gtk_plot_segment_center</link>             (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment,
                                                         <link linkend="gboolean">gboolean</link> center);
<link linkend="gboolean">gboolean</link>            <link linkend="gtk-plot-segment-is-centered">gtk_plot_segment_is_centered</link>        (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment);
</synopsis>
</refsynopsisdiv>









<refsect1 id="gtkextra-GtkPlotSegment.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="gtkextra-GtkPlotSegment.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GtkPlotArrow" role="enum">
<title>enum GtkPlotArrow</title>
<indexterm zone="GtkPlotArrow"><primary sortas="GtkPlotArrow">GtkPlotArrow</primary></indexterm><programlisting>typedef enum
{
      GTK_PLOT_ARROW_NONE            = 0,
      GTK_PLOT_ARROW_ORIGIN          = 1 &lt;&lt; 0,
      GTK_PLOT_ARROW_END             = 1 &lt;&lt; 1
} GtkPlotArrow;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="gtk-plot-segment-new" role="function">
<title>gtk_plot_segment_new ()</title>
<indexterm zone="gtk-plot-segment-new"><primary sortas="gtk_plot_segment_new">gtk_plot_segment_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gtk_plot_segment_new                (void);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-plot-segment-set-relative" role="function">
<title>gtk_plot_segment_set_relative ()</title>
<indexterm zone="gtk-plot-segment-set-relative"><primary sortas="gtk_plot_segment_set_relative">gtk_plot_segment_set_relative</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_plot_segment_set_relative       (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment,
                                                         <link linkend="gboolean">gboolean</link> set);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>segment</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>set</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-plot-segment-relative" role="function">
<title>gtk_plot_segment_relative ()</title>
<indexterm zone="gtk-plot-segment-relative"><primary sortas="gtk_plot_segment_relative">gtk_plot_segment_relative</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            gtk_plot_segment_relative           (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>segment</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-plot-segment-set-arrow" role="function">
<title>gtk_plot_segment_set_arrow ()</title>
<indexterm zone="gtk-plot-segment-set-arrow"><primary sortas="gtk_plot_segment_set_arrow">gtk_plot_segment_set_arrow</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_plot_segment_set_arrow          (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment,
                                                         <link linkend="gint">gint</link> arrow_length,
                                                         <link linkend="gint">gint</link> arrow_width,
                                                         <link linkend="GtkPlotSymbolStyle">GtkPlotSymbolStyle</link> style);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>segment</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arrow_length</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arrow_width</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>style</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-plot-segment-get-arrow" role="function">
<title>gtk_plot_segment_get_arrow ()</title>
<indexterm zone="gtk-plot-segment-get-arrow"><primary sortas="gtk_plot_segment_get_arrow">gtk_plot_segment_get_arrow</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_plot_segment_get_arrow          (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment,
                                                         <link linkend="gint">gint</link> *arrow_length,
                                                         <link linkend="gint">gint</link> *arrow_width,
                                                         <link linkend="GtkPlotSymbolStyle">GtkPlotSymbolStyle</link> *style);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>segment</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arrow_length</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arrow_width</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>style</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-plot-segment-set-arrow-mask" role="function">
<title>gtk_plot_segment_set_arrow_mask ()</title>
<indexterm zone="gtk-plot-segment-set-arrow-mask"><primary sortas="gtk_plot_segment_set_arrow_mask">gtk_plot_segment_set_arrow_mask</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_plot_segment_set_arrow_mask     (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment,
                                                         <link linkend="GtkPlotArrow">GtkPlotArrow</link> mask);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>segment</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>mask</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-plot-segment-get-arrow-mask" role="function">
<title>gtk_plot_segment_get_arrow_mask ()</title>
<indexterm zone="gtk-plot-segment-get-arrow-mask"><primary sortas="gtk_plot_segment_get_arrow_mask">gtk_plot_segment_get_arrow_mask</primary></indexterm><programlisting><link linkend="guint">guint</link>               gtk_plot_segment_get_arrow_mask     (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>segment</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-plot-segment-center" role="function">
<title>gtk_plot_segment_center ()</title>
<indexterm zone="gtk-plot-segment-center"><primary sortas="gtk_plot_segment_center">gtk_plot_segment_center</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_plot_segment_center             (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment,
                                                         <link linkend="gboolean">gboolean</link> center);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>segment</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>center</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-plot-segment-is-centered" role="function">
<title>gtk_plot_segment_is_centered ()</title>
<indexterm zone="gtk-plot-segment-is-centered"><primary sortas="gtk_plot_segment_is_centered">gtk_plot_segment_is_centered</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            gtk_plot_segment_is_centered        (<link linkend="GtkPlotSegment">GtkPlotSegment</link> *segment);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>segment</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
