Icon.equal

bool equal(gio.icon.Icon icon2 = null)

Checks if two icons are equal.

Parameters

icon2pointer to the second #GIcon.

Returns

true if icon1 is equal to icon2. false otherwise.