NumerableIcon.setCount

Sets the currently displayed value of self to count.

The numeric value is always clamped to make it two digits, i.e. between -99 and 99. Setting a count of zero removes the emblem. If this method is called, and a label was already set on the icon, it will automatically be reset to null before rendering the number, i.e. the last method called between gtk.numerable_icon.NumerableIcon.setCount and gtk.numerable_icon.NumerableIcon.setLabel has always priority.

class NumerableIcon
void
setCount
(
int count
)

Parameters

count int

a number between -99 and 99