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_set_count() and gtk_numerable_icon_set_label() has always priority.

class NumerableIcon
void
setCount
(
int count
)

Parameters

count int

a number between -99 and 99

Meta