## RBBrowserSource

RBBrowserSource — base class for sources that include genre/artist/album browsers

## Synopsis

    struct              RBBrowserSource;
    struct              RBBrowserSourceClass;
    gboolean            rb_browser_source_has_drop_support  (RBBrowserSource *source);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBox
                               +----GtkHBox
                                     +----RBDisplayPage
                                           +----RBSource
                                                 +----RBBrowserSource
                                                       +----RBLibrarySource
                                                       +----RBMediaPlayerSource

## Implemented Interfaces

RBBrowserSource implements AtkImplementorIface, GtkBuildable and GtkOrientable.

## Properties

      "populate"                 gboolean              : Read / Write / Construct

## Description

This class simplifies implementation of sources that include genre/artist/album browsers. It also handles searching (using the search box) and a few other UI niceties.

Instances of browser sources will use a query that will match all entries of the entry type assigned to the source, so it's mostly suited for sources that have an entry type of their own.

## Details

### struct RBBrowserSource

    struct RBBrowserSource;

### struct RBBrowserSourceClass

    struct RBBrowserSourceClass {
    	RBSourceClass parent;

    	void		(*pack_content)		(RBBrowserSource *source, GtkWidget *content);
    	gboolean (*has_drop_support) (RBBrowserSource *source);
    	void		(*show_entry_popup) (RBBrowserSource *source);
    };

### rb_browser_source_has_drop_support ()

    gboolean            rb_browser_source_has_drop_support  (RBBrowserSource *source);

This is a virtual method that should be implemented by subclasses. It returns `TRUE` if drag and drop target support for the source should be activated.

`source` : | a RBBrowserSource
Returns : | `TRUE` if drop support should be activated

## Property Details

### The `"populate"` property

      "populate"                 gboolean              : Read / Write / Construct

whether to populate the source.

Default value: TRUE