set_badge_number


Description:

public void set_badge_number (uint badge_number)

Sets the badge number for this page.

[class@ViewSwitcher] can display it as a badge next to the page icon. It is commonly used to display a number of unread items within the page.

It can be used together with [property@ViewStack{age} needs_attention].

Parameters:

this

a view stack page

badge_number

the new value to set