<refentry id="GnomeDbGraphItem">
<refmeta>
<refentrytitle>GnomeDbGraphItem</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGNOMEDB-4.0 Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GnomeDbGraphItem</refname><refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>

<synopsis>



struct      <link linkend="GnomeDbGraphItem-struct">GnomeDbGraphItem</link>;
struct      <link linkend="GnomeDbGraphItemClass">GnomeDbGraphItemClass</link>;
<link linkend="GnomeDbGraphItem">GnomeDbGraphItem</link>* <link linkend="gnome-db-graph-item-new">gnome_db_graph_item_new</link>   (<link linkend="GnomeDbGraph">GnomeDbGraph</link> *graph);
<link linkend="GnomeDbGraph">GnomeDbGraph</link>* <link linkend="gnome-db-graph-item-get-graph">gnome_db_graph_item_get_graph</link> (<link linkend="GnomeDbGraphItem">GnomeDbGraphItem</link> *item);
<link linkend="void">void</link>        <link linkend="gnome-db-graph-item-set-position">gnome_db_graph_item_set_position</link>
                                            (<link linkend="GnomeDbGraphItem">GnomeDbGraphItem</link> *item,
                                             <link linkend="gdouble">gdouble</link> x,
                                             <link linkend="gdouble">gdouble</link> y);
<link linkend="void">void</link>        <link linkend="gnome-db-graph-item-get-position">gnome_db_graph_item_get_position</link>
                                            (<link linkend="GnomeDbGraphItem">GnomeDbGraphItem</link> *item,
                                             <link linkend="gdouble">gdouble</link> *x,
                                             <link linkend="gdouble">gdouble</link> *y);

</synopsis>
</refsynopsisdiv>

<refsect1>
<title>Object Hierarchy</title>
<synopsis>

  <link linkend="GObject">GObject</link>
   +----GnomeDbGraphItem
</synopsis>

</refsect1>





<refsect1>
<title>Properties</title>
<synopsis>

  &quot;<link linkend="GnomeDbGraphItem--graph">graph</link>&quot;                <link linkend="GnomeDbGraph">GnomeDbGraph</link>         : Read / Write / Construct Only
</synopsis>
</refsect1>

<refsect1>
<title>Signal Prototypes</title>
<synopsis>

&quot;<link linkend="GnomeDbGraphItem-moved">moved</link>&quot;     <link linkend="void">void</link>        user_function      (<link linkend="GnomeDbGraphItem">GnomeDbGraphItem</link> *dbgraphitem,
                                            <link linkend="gpointer">gpointer</link> user_data);
</synopsis>
</refsect1>


<refsect1>
<title>Description</title>
<para>

</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="GnomeDbGraphItem-struct"/>struct GnomeDbGraphItem</title>
<indexterm><primary>GnomeDbGraphItem</primary></indexterm><programlisting>struct GnomeDbGraphItem;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="GnomeDbGraphItemClass"/>struct GnomeDbGraphItemClass</title>
<indexterm><primary>GnomeDbGraphItemClass</primary></indexterm><programlisting>struct GnomeDbGraphItemClass {

	GObjectClass   parent_class;
	
	/* signals */
	void        (*moved) (GnomeDbGraphItem *item);
};
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-db-graph-item-new"/>gnome_db_graph_item_new ()</title>
<indexterm><primary>gnome_db_graph_item_new</primary></indexterm><programlisting><link linkend="GnomeDbGraphItem">GnomeDbGraphItem</link>* gnome_db_graph_item_new   (<link linkend="GnomeDbGraph">GnomeDbGraph</link> *graph);</programlisting>
<para>
Creates a new <link linkend="GnomeDbGraphItem"><type>GnomeDbGraphItem</type></link> object</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>graph</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeDbGraph"><type>GnomeDbGraph</type></link> graph object
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the newly created object
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-graph-item-get-graph"/>gnome_db_graph_item_get_graph ()</title>
<indexterm><primary>gnome_db_graph_item_get_graph</primary></indexterm><programlisting><link linkend="GnomeDbGraph">GnomeDbGraph</link>* gnome_db_graph_item_get_graph (<link linkend="GnomeDbGraphItem">GnomeDbGraphItem</link> *item);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>item</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-graph-item-set-position"/>gnome_db_graph_item_set_position ()</title>
<indexterm><primary>gnome_db_graph_item_set_position</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_graph_item_set_position
                                            (<link linkend="GnomeDbGraphItem">GnomeDbGraphItem</link> *item,
                                             <link linkend="gdouble">gdouble</link> x,
                                             <link linkend="gdouble">gdouble</link> y);</programlisting>
<para>
Sets the position to be remembered for <parameter>item</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>item</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeDbGraphItemItem"><type>GnomeDbGraphItemItem</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>x</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>y</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-graph-item-get-position"/>gnome_db_graph_item_get_position ()</title>
<indexterm><primary>gnome_db_graph_item_get_position</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_graph_item_get_position
                                            (<link linkend="GnomeDbGraphItem">GnomeDbGraphItem</link> *item,
                                             <link linkend="gdouble">gdouble</link> *x,
                                             <link linkend="gdouble">gdouble</link> *y);</programlisting>
<para>
Get <parameter>item</parameter>'s position.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>item</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeDbGraphItemItem"><type>GnomeDbGraphItemItem</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>x</parameter>&nbsp;:</term>
<listitem><simpara> a place where to store the X part of the position, or <literal>NULL</literal>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>y</parameter>&nbsp;:</term>
<listitem><simpara> a place where to store the Y part of the position, or <literal>NULL</literal>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1>
<title>Properties</title>
<variablelist>
<varlistentry><term><anchor id="GnomeDbGraphItem--graph"/>&quot;<literal>graph</literal>&quot; (<link linkend="GnomeDbGraph">GnomeDbGraph</link> : Read / Write / Construct Only)</term>
<listitem>
<para></para>
</listitem></varlistentry>

</variablelist>
</refsect1>

<refsect1>
<title>Signals</title>
<refsect2><title><anchor id="GnomeDbGraphItem-moved"/>The &quot;moved&quot; signal</title>
<programlisting><link linkend="void">void</link>        user_function                  (<link linkend="GnomeDbGraphItem">GnomeDbGraphItem</link> *dbgraphitem,
                                            <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>dbgraphitem</parameter>&nbsp;:</term>
<listitem><simpara>the object which received the signal.

</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>



</refentry>
