append_source_with_count


Description:

public void append_source_with_count (string id, Icon? icon, string label, uint count)

Appends a new message source to the end of the section representing this and initializes it with count.

To update the count, use set_source_count.

It is an error to add a source with an id which already exists. Use has_source to find out whether there is such a source.

Parameters:

this

a App

id

a unique identifier for the source to be added

icon

the icon associated with the source

label

a user-visible string best describing the source

count

the count for the source