## RBPlayQueueSource

RBPlayQueueSource — source object for the play queue

## Synopsis

                        RBPlayQueueSource;
                        RBPlayQueueSourceClass;
    RBSource *          rb_play_queue_source_new            (RBShell *shell);
    void                rb_play_queue_source_sidebar_song_info
                                                            (RBPlayQueueSource *source);
    void                rb_play_queue_source_sidebar_delete (RBPlayQueueSource *source);
    void                rb_play_queue_source_clear_queue    (RBPlayQueueSource *source);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBox
                                     +----GtkHBox
                                           +----RBSource
                                                 +----RBPlaylistSource
                                                       +----RBStaticPlaylistSource
                                                             +----RBPlayQueueSource

## Implemented Interfaces

RBPlayQueueSource implements AtkImplementorIface, GtkBuildable and GtkOrientable.

## Properties

      "sidebar"                  RBEntryView*          : Read

## Description

The main interesting thing about this source is that is contains a second RBEntryView to be displayed in the side pane (beneath the source list). This entry view displays the track title, artist, and album in a single column, split across three lines so the information mostly fits in the usual horizontal space allowed for the side bar.

## Details

### RBPlayQueueSource

    typedef struct _RBPlayQueueSource RBPlayQueueSource;

### RBPlayQueueSourceClass

    typedef struct {
    	RBStaticPlaylistSourceClass parent;
    } RBPlayQueueSourceClass;

### rb_play_queue_source_new ()

    RBSource *          rb_play_queue_source_new            (RBShell *shell);

Creates the play queue source object.

`shell` : | the RBShell instance
Returns : | the play queue source

### rb_play_queue_source_sidebar_song_info ()

    void                rb_play_queue_source_sidebar_song_info
                                                            (RBPlayQueueSource *source);

Creates and displays a RBSongInfo for the currently selected entry in the side pane play queue view

`source` : | the RBPlayQueueSource

### rb_play_queue_source_sidebar_delete ()

    void                rb_play_queue_source_sidebar_delete (RBPlayQueueSource *source);

Deletes the selected entries from the play queue side pane. This is called by the RBShellClipboard.

`source` : | the RBPlayQueueSource

### rb_play_queue_source_clear_queue ()

    void                rb_play_queue_source_clear_queue    (RBPlayQueueSource *source);

Clears the play queue.

`source` : | the RBPlayQueueSource

## Property Details

### The `"sidebar"` property

      "sidebar"                  RBEntryView*          : Read

The RBEntryView for the play queue side pane.