HudSourceList

HudSourceList — a list of HudSources that is itself a HudSource

Synopsis

                    HudSourceList;
void                hud_source_list_add                 (HudSourceList *list,
                                                         HudSource *source);
HudSourceList *     hud_source_list_new                 (void);

Object Hierarchy

  GObject
   +----HudSourceList

Implemented Interfaces

HudSourceList implements HudSource.

Description

HudSourceList is a list of HudSources that functions as a HudSource itself.

Calls to hud_source_search() on the list get turned into searches on each source in the list. If any source in the list emits the HudSource::changed signal then the list itself will emit it as well.

Sources may be added to the list using hud_source_list_add(). It is not possible to remove sources.

Details

HudSourceList

typedef struct _HudSourceList HudSourceList;

This is an opaque structure type.


hud_source_list_add ()

void                hud_source_list_add                 (HudSourceList *list,
                                                         HudSource *source);

Adds source to list.

Future hud_source_search() calls on list will include results from source.

list :

a HudSourceList

source :

a HudSource to add to the list

hud_source_list_new ()

HudSourceList *     hud_source_list_new                 (void);

Creates a HudSourceList.

You should probably add some sources to it using hud_source_list_add().

Returns :

a new empty HudSourceList