Class

PurpleBadge

unstable since: 3.0

Description [src]

final class Purple.Badge : GObject.Object
{
  /* No available fields */
}

PurpleBadge is a data structure for badges. They are intended to be used on PurpleConversationMembers to display badges like “admin”, “moderator”, “broadcaster”, etc.

Available since: 3.0

Ancestors

Constructors

purple_badge_new

Creates a new badge.

unstable since: 3.0

Instance methods

purple_badge_compare

Gets which badge has higher priority.

unstable since: 3.0

purple_badge_equal

Checks if badge1 and badge2 have the same id.

unstable since: 3.0

purple_badge_get_description

Gets the description of badge.

unstable since: 3.0

purple_badge_get_icon_name

Gets the icon-name from badge.

unstable since: 3.0

purple_badge_get_id

Gets the id of badge.

unstable since: 3.0

purple_badge_get_link_text

Gets the text that should be displayed when displaying the link for badge.

unstable since: 3.0

purple_badge_get_link_uri

Gets the link URI of badge.

unstable since: 3.0

purple_badge_get_mnemonic

Gets the mnemonic from badge.

unstable since: 3.0

purple_badge_get_priority

Gets the priority of badge.

unstable since: 3.0

purple_badge_get_tooltip_text

Gets the tooltip text from badge.

unstable since: 3.0

purple_badge_set_description

Sets the description of badge to description.

unstable since: 3.0

purple_badge_set_link_text

Sets the link text of badge to link_text.

unstable since: 3.0

purple_badge_set_link_uri

Sets the link URI of badge to link_uri.

unstable since: 3.0

purple_badge_set_tooltip_text

Sets the tooltip text of badge.

unstable since: 3.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.Badge:description

The description of the badge.

unstable since: 3.0

Purple.Badge:icon-name

The name of the icon for the badge.

unstable since: 3.0

Purple.Badge:id

The id for this badge.

unstable since: 3.0

Purple.Badge:link-text

The text to display for the link of the badge.

unstable since: 3.0

Purple.Badge:link-uri

A URI for the badge that could link to a page describing more about it.

unstable since: 3.0

Purple.Badge:mnemonic

The mnemonic for the badge.

unstable since: 3.0

Purple.Badge:priority

The priority of this badge.

unstable since: 3.0

Purple.Badge:tooltip-text

Text to be displayed in the tooltip for this badge.

unstable since: 3.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PurpleBadgeClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.