Class

AstalMprisMpris

Description

class AstalMpris.Mpris : GObject.Object
  implements Gio.ListModel {
  /* No available fields */
}

Manager object that monitors the session DBus for Mpris players to appear and disappear.

Ancestors

Implements

Constructors

astal_mpris_mpris_new
No description available.

Functions

astal_mpris_mpris_get_default

Gets the default singleton Mpris instance.

Instance methods

astal_mpris_mpris_get_players
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GListModel (5)
g_list_model_get_item

Get the item at position.

g_list_model_get_item_type

Gets the type of the items in list.

g_list_model_get_n_items

Gets the number of items in list.

g_list_model_get_object

Get the item at position.

g_list_model_items_changed

Emits the GListModel::items-changed signal on list.

Properties

AstalMpris.Mpris:players

List of currently available players.

Signals

AstalMpris.Mpris::player-added

Emitted when a new mpris Player appears.

AstalMpris.Mpris::player-closed

Emitted when a Player disappears.

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.

Signals inherited from GListModel (1)
GListModel::items-changed

This signal is emitted whenever items were added to or removed from list. At position, removed items were removed and added items were added in their place.

Class structure

struct AstalMprisMprisClass {
  /* no available fields */
}

No description available.