| hud-service Hacking Guide | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | ||||
HudSourceListHudSourceList — a list of HudSources that is itself a HudSource |
HudSourceList; void hud_source_list_add (HudSourceList *list,HudSource *source); HudSourceList * hud_source_list_new (void);
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.
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.
|
a HudSourceList |
|
a HudSource to add to the list |
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 |