![]() |
![]() |
![]() |
Rhythmbox Development Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
RBSourceSearchBasicRBSourceSearchBasic — Simple implementation of RBSourceSearch |
RBSourceSearchBasic; RBSourceSearchBasicClass; RBSourceSearch * rb_source_search_basic_new (RhythmDBPropType prop); void rb_source_search_basic_create_for_actions (GtkActionGroup *action_group, GtkRadioActionEntry *actions, int n_actions);
This implementation of RBSourceSearch constructs queries that search on a single RhythmDBEntry property. It's useful for providing basic searches.
typedef struct { RBSourceSearchClass parent_class; } RBSourceSearchBasicClass;
RBSourceSearch * rb_source_search_basic_new (RhythmDBPropType prop);
Creates a new RBSourceSearchBasic instance. This performs simple string matching on a specified property.
|
the RhythmDBPropType to search |
Returns : |
newly created RBSourceSearchBasic |
void rb_source_search_basic_create_for_actions (GtkActionGroup *action_group, GtkRadioActionEntry *actions, int n_actions);
Creates RBSourceSearchBasic instances for a set of search actions and associates them with the actions. The property to match on is taken from the action value in the GtkRadioActionEntry structure.
|
the GtkActionGroup containing the actions |
|
the GtkRadioActionEntries for the actions |
|
the number of actions |
"prop"
property"prop" gint : Read / Write / Construct Only
Property id.
Allowed values: [0,59]
Default value: 0