Method
PurpleBadgesadd_badge
unstable since: 3.0
[−]
Description [src]
Adds badge
to badges
.
If a badge with the same id of badge
already exists, badge
will not be
added and FALSE
will be returned.
Available since: 3.0
[−]
Parameters
badge
-
Type:
PurpleBadge
The new badge to add.
The data is owned by the caller of the method.
[−]
Return value
Type: gboolean
TRUE
if badge
was added successfully, otherwise FALSE
if an
existing badge has the same id.