RBStatusbar

## RBStatusbar RBStatusbar — status bar widget |

## Synopsis

    struct              RBStatusbar;
    struct              RBStatusbarClass;
    RBStatusbar *       rb_statusbar_new                    (RhythmDB *db);
    void                rb_statusbar_set_page               (RBStatusbar *statusbar,
                                                             RBDisplayPage *page);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBox
                               +----GtkStatusbar
                                     +----RBStatusbar

## Implemented Interfaces

RBStatusbar implements AtkImplementorIface, GtkBuildable and GtkOrientable.

## Properties

      "db"                       RhythmDB*             : Read / Write
      "page"                     RBDisplayPage*        : Read / Write

## Description

The status bar is displayed at the bottom of the main window. It consists of some status text and a progress bar.

The status text usually comes from the selected page, and typically shows the number of songs, the total duration and the total file size. When a menu is open, however, the status text shows the description of the currently selected menu item.

The progress bar shows progress information from a variety of sources. The page that is currently selected in the display page tree can provide progress information, such as buffering feedback, track transfer status, or progress for updating a song catalog. If the page does not provide status information and the database is busy (loading the database from disk, processing a query, etc.) the progress bar will be pulsed periodically.

## Details

### struct RBStatusbar

    struct RBStatusbar;

### struct RBStatusbarClass

    struct RBStatusbarClass {
    	GtkStatusbarClass parent_class;
    };

### rb_statusbar_new ()

    RBStatusbar *       rb_statusbar_new                    (RhythmDB *db);

Creates the status bar widget.

`db` : | the RhythmDB instance
Returns : | the status bar widget

### rb_statusbar_set_page ()

    void                rb_statusbar_set_page               (RBStatusbar *statusbar,
                                                             RBDisplayPage *page);

Updates the status bar for a newly selected page.

`statusbar` : | the RBStatusbar
`page` : | the new selected RBDisplayPage

## Property Details

### The `"db"` property

      "db"                       RhythmDB*             : Read / Write

The RhythmDB instance

### The `"page"` property

      "page"                     RBDisplayPage*        : Read / Write

The currently selected RBDisplayPage