Class

PurpleFileTransferManager

unstable since: 3.0

Description [src]

final class Purple.FileTransferManager : GObject.Object
  implements Gio.ListModel {
  /* No available fields */
}

Keeps track of the PurpleFileTransfer‘s that have been added to it and propagates all of their signals.

Available since: 3.0

Ancestors

Implements

Functions

purple_file_transfer_manager_get_default

Gets the default file transfer manager for libpurple.

unstable since: 3.0

purple_file_transfer_manager_get_default_as_model

Gets the default file transfer manager for libpurple as a list model.

unstable since: 3.0

Instance methods

purple_file_transfer_manager_add

Adds transfer to manager.

unstable since: 3.0

purple_file_transfer_manager_remove

Removes transfer from manager.

unstable since: 3.0

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

Purple.FileTransferManager:item-type

The type of items. See Gio.ListModelInterface.get_item_type.

unstable since: 3.0

Purple.FileTransferManager:n-items

The number of items. See Gio.ListModelInterface.get_n_items.

unstable since: 3.0

Signals

Purple.FileTransferManager::added

Emitted when a file transfer is added to manager.

unstable since: 3.0

Purple.FileTransferManager::removed

Emitted when a file transfer is removed from manager.

unstable since: 3.0

Purple.FileTransferManager::transfer-changed

This is a propagation of the notify signal from transfer. This means that your callback will be called for any file transfer that manager knows about.

unstable since: 3.0

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 PurpleFileTransferManagerClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.