## GnomeDbGrayBar GnomeDbGrayBar — Nice looking gray bar widget. TODO: That is a terrible description. murrayc. |

## Synopsis

                        GnomeDbGrayBar;
                        GnomeDbGrayBarClass;
                        GnomeDbGrayBarPrivate;
    GtkWidget *         gnome_db_gray_bar_new               (const gchar *label);
    const gchar *       gnome_db_gray_bar_get_text          (GnomeDbGrayBar *bar);
    void                gnome_db_gray_bar_set_text          (GnomeDbGrayBar *bar,
                                                             const gchar *text);
    void                gnome_db_gray_bar_set_icon_from_file
                                                            (GnomeDbGrayBar *bar,
                                                             const gchar *file);
    void                gnome_db_gray_bar_set_icon_from_stock
                                                            (GnomeDbGrayBar *bar,
                                                             const gchar *stock_id,
                                                             GtkIconSize size);
    void                gnome_db_gray_bar_set_show_icon     (GnomeDbGrayBar *bar,
                                                             gboolean show);
    gboolean            gnome_db_gray_bar_get_show_icon     (GnomeDbGrayBar *bar);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GnomeDbGrayBar

## Implemented Interfaces

GnomeDbGrayBar implements GtkBuildable and AtkImplementorIface.

## Properties

      "show-icon"                gboolean              : Read / Write
      "text"                     gchar*                : Read / Write

## Description

## Details

### GnomeDbGrayBar

    typedef struct _GnomeDbGrayBar GnomeDbGrayBar;

### GnomeDbGrayBarClass

    typedef struct {
    	GtkBinClass parent_class;
    } GnomeDbGrayBarClass;

### GnomeDbGrayBarPrivate

    typedef struct _GnomeDbGrayBarPrivate GnomeDbGrayBarPrivate;

### gnome_db_gray_bar_new ()

    GtkWidget *         gnome_db_gray_bar_new               (const gchar *label);

`label` : |
Returns : |

### gnome_db_gray_bar_get_text ()

    const gchar *       gnome_db_gray_bar_get_text          (GnomeDbGrayBar *bar);

Get the text being displayed in the given gray bar widget. This does not include any embedded underlines indicating mnemonics or Pango markup.

`bar` : | A GnomeDbGrayBar widget.
Returns : | the text in the widget.

### gnome_db_gray_bar_set_text ()

    void                gnome_db_gray_bar_set_text          (GnomeDbGrayBar *bar,
                                                             const gchar *text);

Set the text displayed in the given gray bar widget. This can include embedded underlines indicating mnemonics or Pango markup.

`bar` : | A GnomeDbGrayBar widget
`text` : |

### gnome_db_gray_bar_set_icon_from_file ()

    void                gnome_db_gray_bar_set_icon_from_file
                                                            (GnomeDbGrayBar *bar,
                                                             const gchar *file);

`bar` : |
`file` : |

### gnome_db_gray_bar_set_icon_from_stock ()

    void                gnome_db_gray_bar_set_icon_from_stock
                                                            (GnomeDbGrayBar *bar,
                                                             const gchar *stock_id,
                                                             GtkIconSize size);

`bar` : |
`stock_id` : |
`size` : |

### gnome_db_gray_bar_set_show_icon ()

    void                gnome_db_gray_bar_set_show_icon     (GnomeDbGrayBar *bar,
                                                             gboolean show);

Set the icon displaying mode for the given grid.

`bar` : | a GnomeDbGrayBar widget.
`show` : | whether to show the icon or not.

### gnome_db_gray_bar_get_show_icon ()

    gboolean            gnome_db_gray_bar_get_show_icon     (GnomeDbGrayBar *bar);

Get whether the icon is being shown for the given gray bar.

`bar` : | a GnomeDbGrayBar widget.
Returns : | TRUE if the icon is shown, FALSE if not.

## Property Details

### The `"show-icon"` property

      "show-icon"                gboolean              : Read / Write

Default value: FALSE

### The `"text"` property

      "text"                     gchar*                : Read / Write

Text showed inside the widget.

Default value: NULL