RB.BrowserSource¶
- Subclasses:
 
Methods¶
- Inherited:
 RB.Source (34), RB.DisplayPage (12), Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
 Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
Virtual Methods¶
- Inherited:
 RB.Source (28), RB.DisplayPage (12), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)
  | 
|
Properties¶
- Inherited:
 RB.Source (10), RB.DisplayPage (5), Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/c  | 
whether to populate the source  | 
Child Properties¶
- Inherited:
 
Style Properties¶
- Inherited:
 
Signals¶
Fields¶
- Inherited:
 RB.Source (3), RB.DisplayPage (2), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class RB.BrowserSource(*args, **kwargs)¶
 - Bases:
 - Abstract:
 Yes
- Structure:
 
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.
- has_drop_support()¶
 - 
This is a virtual method that should be implemented by subclasses. It returns
Trueif drag and drop target support for the source should be activated. 
- do_has_drop_support() virtual¶
 - 
This is a virtual method that should be implemented by subclasses. It returns
Trueif drag and drop target support for the source should be activated. 
- do_pack_content(content) virtual¶
 - Parameters:
 content (
Gtk.Widget) –
- do_show_entry_popup() virtual¶