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

<refnamediv>
<refname>GnomeDbCanvasTable</refname><refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>

<synopsis>



struct      <link linkend="GnomeDbCanvasTable-struct">GnomeDbCanvasTable</link>;
struct      <link linkend="GnomeDbCanvasTableClass">GnomeDbCanvasTableClass</link>;
<link linkend="GooCanvasItem">GooCanvasItem</link>* <link linkend="gnome-db-canvas-table-new">gnome_db_canvas_table_new</link>    (<link linkend="GooCanvasItem">GooCanvasItem</link> *parent,
                                             <link linkend="GdaMetaTable">GdaMetaTable</link> *table,
                                             <link linkend="gdouble">gdouble</link> x,
                                             <link linkend="gdouble">gdouble</link> y,
                                             ...);
<link linkend="GnomeDbCanvasColumn">GnomeDbCanvasColumn</link>* <link linkend="gnome-db-canvas-table-get-column-item">gnome_db_canvas_table_get_column_item</link>
                                            (<link linkend="GnomeDbCanvasTable">GnomeDbCanvasTable</link> *ce,
                                             <link linkend="GdaMetaTableColumn">GdaMetaTableColumn</link> *column);
<link linkend="gdouble">gdouble</link>     <link linkend="gnome-db-canvas-table-get-column-ypos">gnome_db_canvas_table_get_column_ypos</link>
                                            (<link linkend="GnomeDbCanvasTable">GnomeDbCanvasTable</link> *ce,
                                             <link linkend="GdaMetaTableColumn">GdaMetaTableColumn</link> *column);

</synopsis>
</refsynopsisdiv>

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

  <link linkend="GObject">GObject</link>
   +----<link linkend="GooCanvasItemSimple">GooCanvasItemSimple</link>
         +----<link linkend="GooCanvasGroup">GooCanvasGroup</link>
               +----<link linkend="GnomeDbCanvasItem">GnomeDbCanvasItem</link>
                     +----GnomeDbCanvasTable
</synopsis>

</refsect1>



<refsect1>
<title>Implemented Interfaces</title>
<para>
GnomeDbCanvasTable implements
 <link linkend="GooCanvasItem">GooCanvasItem</link>.</para>

</refsect1>


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

  &quot;<link linkend="GnomeDbCanvasTable--popup-menu-func">popup-menu-func</link>&quot;      <link linkend="gpointer">gpointer</link>             : Write
  &quot;<link linkend="GnomeDbCanvasTable--table">table</link>&quot;                <link linkend="gpointer">gpointer</link>             : Read / Write
</synopsis>
</refsect1>



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

</para>
</refsect1>

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

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

	GnomeDbCanvasItemClass   parent_class;
};
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-db-canvas-table-new"/>gnome_db_canvas_table_new ()</title>
<indexterm><primary>gnome_db_canvas_table_new</primary></indexterm><programlisting><link linkend="GooCanvasItem">GooCanvasItem</link>* gnome_db_canvas_table_new    (<link linkend="GooCanvasItem">GooCanvasItem</link> *parent,
                                             <link linkend="GdaMetaTable">GdaMetaTable</link> *table,
                                             <link linkend="gdouble">gdouble</link> x,
                                             <link linkend="gdouble">gdouble</link> y,
                                             ...);</programlisting>
<para>
Creates a new canvas item to display the <parameter>table</parameter> table</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>parent</parameter>&nbsp;:</term>
<listitem><simpara> the parent item, or NULL. 
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GdaMetaTable"><type>GdaMetaTable</type></link> to display
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>x</parameter>&nbsp;:</term>
<listitem><simpara> the x coordinate
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>y</parameter>&nbsp;:</term>
<listitem><simpara> the y coordinate
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara> optional pairs of property names and values, and a terminating NULL.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a new <link linkend="GooCanvasItem"><type>GooCanvasItem</type></link> object
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-canvas-table-get-column-item"/>gnome_db_canvas_table_get_column_item ()</title>
<indexterm><primary>gnome_db_canvas_table_get_column_item</primary></indexterm><programlisting><link linkend="GnomeDbCanvasColumn">GnomeDbCanvasColumn</link>* gnome_db_canvas_table_get_column_item
                                            (<link linkend="GnomeDbCanvasTable">GnomeDbCanvasTable</link> *ce,
                                             <link linkend="GdaMetaTableColumn">GdaMetaTableColumn</link> *column);</programlisting>
<para>
Get the <link linkend="GnomeDbCanvasColumn"><type>GnomeDbCanvasColumn</type></link> object representing <parameter>column</parameter>
in <parameter>ce</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>ce</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeDbCanvasTable"><type>GnomeDbCanvasTable</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>column</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GdaMetaTableColumn"><type>GdaMetaTableColumn</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the corresponding <link linkend="GnomeDbCanvasColumn"><type>GnomeDbCanvasColumn</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-canvas-table-get-column-ypos"/>gnome_db_canvas_table_get_column_ypos ()</title>
<indexterm><primary>gnome_db_canvas_table_get_column_ypos</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link>     gnome_db_canvas_table_get_column_ypos
                                            (<link linkend="GnomeDbCanvasTable">GnomeDbCanvasTable</link> *ce,
                                             <link linkend="GdaMetaTableColumn">GdaMetaTableColumn</link> *column);</programlisting>
<para>
Get the Y position of the middle of the <link linkend="GnomeDbCanvasColumn"><type>GnomeDbCanvasColumn</type></link> object representing <parameter>column</parameter>
in <parameter>ce</parameter>, in <parameter>ce</parameter>'s coordinates.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>ce</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeDbCanvasTable"><type>GnomeDbCanvasTable</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>column</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GdaMetaTableColumn"><type>GdaMetaTableColumn</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the Y coordinate.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1>
<title>Properties</title>
<variablelist>
<varlistentry><term><anchor id="GnomeDbCanvasTable--popup-menu-func"/>&quot;<literal>popup-menu-func</literal>&quot; (<link linkend="gpointer">gpointer</link> : Write)</term>
<listitem>
<para>Function to create a popup menu on each GnomeDbCanvasTable.</para>
</listitem></varlistentry>
<varlistentry><term><anchor id="GnomeDbCanvasTable--table"/>&quot;<literal>table</literal>&quot; (<link linkend="gpointer">gpointer</link> : Read / Write)</term>
<listitem>
<para></para>
</listitem></varlistentry>

</variablelist>
</refsect1>




</refentry>
