Class

PidginDisplayItem

since: 3.0

Description [src]

final class Pidgin.DisplayItem : GObject.Object {
  /* No available fields */
}

A class that’s used by PidginDisplayWindow to represent all of the displays items.

Available since: 3.0

Ancestors

Constructors

pidgin_display_item_new

Creates a new PidginDisplayItem instance.

Instance methods

pidgin_display_item_get_badge_number

Gets the number that should be displayed in the badge for item.

since: 3.0

pidgin_display_item_get_children

Gets the children for item if there are any.

since: 3.0

pidgin_display_item_get_icon_name

Gets the icon name if any that should be used when displaying item.

since: 3.0

pidgin_display_item_get_id

Gets the unique identifier of item.

since: 3.0

pidgin_display_item_get_needs_attention

Gets whether or not item needs attention.

since: 3.0

pidgin_display_item_get_title

Gets the title of item.

since: 3.0

pidgin_display_item_get_widget

Gets the widget that item was created for.

since: 3.0

pidgin_display_item_set_badge_number

Sets the values to be displayed in the badge for item to badge_number. A value of 0 indicates that the badge should not be displayed.

since: 3.0

pidgin_display_item_set_children

Sets the children of item to children. If children is not NULL then the model must have an item type of PidginDisplayItem.

since: 3.0

pidgin_display_item_set_icon_name

Sets the icon name that should be used when displaying item.

since: 3.0

pidgin_display_item_set_needs_attention

Sets whether or not item needs attention.

since: 3.0

pidgin_display_item_set_title

Sets the title for item to title.

since: 3.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Pidgin.DisplayItem:badge-number

The number that should be shown in the badge. Typically this is an unread count. If this is 0 it should not be displayed.

since: 3.0

Pidgin.DisplayItem:children

A GListModel of child items. The type of the model needs to be PidginDisplayItem.

since: 3.0

Pidgin.DisplayItem:icon-name

The icon name to use for this item.

since: 3.0

Pidgin.DisplayItem:id

A unique identifier for this item. This is used for things like remembering positions and selections.

since: 3.0

Pidgin.DisplayItem:needs-attention

Determines whether the item should show that it needs attention or not.

since: 3.0

Pidgin.DisplayItem:title

The title that should be displayed for this item.

since: 3.0

Pidgin.DisplayItem:widget

The GtkWidget that this item is for.

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 PidginDisplayItemClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.