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 ].
this |
a view stack page |
badge_number |
the new value to set |