![]() |
![]() |
![]() |
Rhythmbox Development Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct RBBrowserSource;
struct RBBrowserSourceClass;
gboolean rb_browser_source_has_drop_support (RBBrowserSource *source
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----RBDisplayPage +----RBSource +----RBBrowserSource +----RBLibrarySource +----RBMediaPlayerSource
RBBrowserSource implements AtkImplementorIface, GtkBuildable and GtkOrientable.
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.
struct RBBrowserSourceClass { RBSourceClass parent; void (*pack_content) (RBBrowserSource *source, GtkWidget *content); gboolean (*has_drop_support) (RBBrowserSource *source); void (*show_entry_popup) (RBBrowserSource *source); };
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.
|
a RBBrowserSource |
Returns : |
TRUE if drop support should be activated |