Plank.Drawing.DockTheme.draw_item_count – plank Reference Manual
draw_item_count
Description:
public
void
draw_item_count
(
DockSurface
surface,
int
icon_size,
Color
color,
int64
count)
Draws a badge for an item.
Parameters:
surface
the surface to draw the badge onto
icon_size
the icon-size of the dock
color
the color of the badge
count
the number for the badge to show