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

<refnamediv>
<refname>GnomeDbGrayBar</refname><refpurpose>Nice looking gray bar widget. TODO: That is a terrible description. murrayc.</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>

<synopsis>



struct      <link linkend="GnomeDbGrayBar-struct">GnomeDbGrayBar</link>;
struct      <link linkend="GnomeDbGrayBarClass">GnomeDbGrayBarClass</link>;
struct      <link linkend="GnomeDbGrayBarPrivate">GnomeDbGrayBarPrivate</link>;
<link linkend="GtkWidget">GtkWidget</link>*  <link linkend="gnome-db-gray-bar-new">gnome_db_gray_bar_new</link>           (const <link linkend="gchar">gchar</link> *label);
const <link linkend="gchar">gchar</link>* <link linkend="gnome-db-gray-bar-get-text">gnome_db_gray_bar_get_text</link>     (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar);
<link linkend="void">void</link>        <link linkend="gnome-db-gray-bar-set-text">gnome_db_gray_bar_set_text</link>      (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar,
                                             const <link linkend="gchar">gchar</link> *text);
<link linkend="void">void</link>        <link linkend="gnome-db-gray-bar-set-icon-from-file">gnome_db_gray_bar_set_icon_from_file</link>
                                            (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar,
                                             const <link linkend="gchar">gchar</link> *file);
<link linkend="void">void</link>        <link linkend="gnome-db-gray-bar-set-icon-from-stock">gnome_db_gray_bar_set_icon_from_stock</link>
                                            (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar,
                                             const <link linkend="gchar">gchar</link> *stock_id,
                                             <link linkend="GtkIconSize">GtkIconSize</link> size);
<link linkend="void">void</link>        <link linkend="gnome-db-gray-bar-set-show-icon">gnome_db_gray_bar_set_show_icon</link> (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar,
                                             <link linkend="gboolean">gboolean</link> show);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-db-gray-bar-get-show-icon">gnome_db_gray_bar_get_show_icon</link> (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar);

</synopsis>
</refsynopsisdiv>

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

  <link linkend="GObject">GObject</link>
   +----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
         +----<link linkend="GtkObject">GtkObject</link>
               +----<link linkend="GtkWidget">GtkWidget</link>
                     +----<link linkend="GtkContainer">GtkContainer</link>
                           +----<link linkend="GtkBin">GtkBin</link>
                                 +----GnomeDbGrayBar
</synopsis>

</refsect1>



<refsect1>
<title>Implemented Interfaces</title>
<para>
GnomeDbGrayBar implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link> and  <link linkend="GtkBuildable">GtkBuildable</link>.</para>

</refsect1>


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

  &quot;<link linkend="GnomeDbGrayBar--show-icon">show-icon</link>&quot;            <link linkend="gboolean">gboolean</link>             : Read / Write
  &quot;<link linkend="GnomeDbGrayBar--text">text</link>&quot;                 <link linkend="gchararray">gchararray</link>           : Read / Write
</synopsis>
</refsect1>



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

</para>
</refsect1>

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

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

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

</para></refsect2>
<refsect2>
<title><anchor id="GnomeDbGrayBarPrivate"/>struct GnomeDbGrayBarPrivate</title>
<indexterm><primary>GnomeDbGrayBarPrivate</primary></indexterm><programlisting>struct GnomeDbGrayBarPrivate;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-db-gray-bar-new"/>gnome_db_gray_bar_new ()</title>
<indexterm><primary>gnome_db_gray_bar_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*  gnome_db_gray_bar_new           (const <link linkend="gchar">gchar</link> *label);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>label</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-gray-bar-get-text"/>gnome_db_gray_bar_get_text ()</title>
<indexterm><primary>gnome_db_gray_bar_get_text</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>* gnome_db_gray_bar_get_text     (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar);</programlisting>
<para>
Get the text being displayed in the given gray bar widget. This
does not include any embedded underlines indicating mnemonics or
Pango markup.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>bar</parameter>&nbsp;:</term>
<listitem><simpara> A <link linkend="GnomeDbGrayBar"><type>GnomeDbGrayBar</type></link> widget.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the text in the widget.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-gray-bar-set-text"/>gnome_db_gray_bar_set_text ()</title>
<indexterm><primary>gnome_db_gray_bar_set_text</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_gray_bar_set_text      (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar,
                                             const <link linkend="gchar">gchar</link> *text);</programlisting>
<para>
Set the text displayed in the given gray bar widget. This can include 
embedded underlines indicating mnemonics or Pango markup.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>bar</parameter>&nbsp;:</term>
<listitem><simpara> A <link linkend="GnomeDbGrayBar"><type>GnomeDbGrayBar</type></link> widget
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>text</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-gray-bar-set-icon-from-file"/>gnome_db_gray_bar_set_icon_from_file ()</title>
<indexterm><primary>gnome_db_gray_bar_set_icon_from_file</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_gray_bar_set_icon_from_file
                                            (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar,
                                             const <link linkend="gchar">gchar</link> *file);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>bar</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>file</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-gray-bar-set-icon-from-stock"/>gnome_db_gray_bar_set_icon_from_stock ()</title>
<indexterm><primary>gnome_db_gray_bar_set_icon_from_stock</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_gray_bar_set_icon_from_stock
                                            (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar,
                                             const <link linkend="gchar">gchar</link> *stock_id,
                                             <link linkend="GtkIconSize">GtkIconSize</link> size);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>bar</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>stock_id</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-gray-bar-set-show-icon"/>gnome_db_gray_bar_set_show_icon ()</title>
<indexterm><primary>gnome_db_gray_bar_set_show_icon</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_gray_bar_set_show_icon (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar,
                                             <link linkend="gboolean">gboolean</link> show);</programlisting>
<para>
Set the icon displaying mode for the given grid.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>bar</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeDbGrayBar"><type>GnomeDbGrayBar</type></link> widget.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>show</parameter>&nbsp;:</term>
<listitem><simpara> whether to show the icon or not.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-gray-bar-get-show-icon"/>gnome_db_gray_bar_get_show_icon ()</title>
<indexterm><primary>gnome_db_gray_bar_get_show_icon</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    gnome_db_gray_bar_get_show_icon (<link linkend="GnomeDbGrayBar">GnomeDbGrayBar</link> *bar);</programlisting>
<para>
Get whether the icon is being shown for the given gray bar.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>bar</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeDbGrayBar"><type>GnomeDbGrayBar</type></link> widget.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> TRUE if the icon is shown, FALSE if not.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1>
<title>Properties</title>
<variablelist>
<varlistentry><term><anchor id="GnomeDbGrayBar--show-icon"/>&quot;<literal>show-icon</literal>&quot; (<link linkend="gboolean">gboolean</link> : Read / Write)</term>
<listitem>
<para></para>
</listitem></varlistentry>
<varlistentry><term><anchor id="GnomeDbGrayBar--text"/>&quot;<literal>text</literal>&quot; (<link linkend="gchararray">gchararray</link> : Read / Write)</term>
<listitem>
<para>Text showed inside the widget.</para>
</listitem></varlistentry>

</variablelist>
</refsect1>




</refentry>
