ListModelIfaceProxy

Proxy object for Gio.ListModel interface when a GObject has no applicable D binding

class ListModelIfaceProxy : IfaceProxy , ListModel {}

Mixed In Members

From mixin ListModelT!()

getItem
T getItem(uint position)

Get the item at position and cast to the template type. NOTE: If type is an interface and no known D object is found that the object conforms to, the interface IfaceProxy object will be used. If position is greater than the number of items in list, %NULL is returned. %NULL may be returned if index is smaller than the length of the list, but the object does not conform to the template type. This function is meant to be used by language bindings in place of Gio.ListModel.getItem. See also: Gio.ListModel.getNItems

getItemType
gobject.types.GType getItemType()

Gets the type of the items in list.

getNItems
uint getNItems()

Gets the number of items in list.

getItem
gobject.object.ObjectG getItem(uint position)

Get the item at position.

itemsChanged
void itemsChanged(uint position, uint removed, uint added)

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

connectItemsChanged
ulong connectItemsChanged(T callback, Flag!"After" after)

Connect to ItemsChanged signal.

Inherited Members

From ListModel

getItem
T getItem(uint position)

Get the item at position and cast to the template type. NOTE: If type is an interface and no known D object is found that the object conforms to, the interface IfaceProxy object will be used. If position is greater than the number of items in list, %NULL is returned. %NULL may be returned if index is smaller than the length of the list, but the object does not conform to the template type. This function is meant to be used by language bindings in place of Gio.ListModel.getItem. See also: Gio.ListModel.getNItems

getItemType
gobject.types.GType getItemType()

Gets the type of the items in list.

getNItems
uint getNItems()

Gets the number of items in list.

getItem
gobject.object.ObjectG getItem(uint position)

Get the item at position.

itemsChanged
void itemsChanged(uint position, uint removed, uint added)

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

connectItemsChanged
ulong connectItemsChanged(T callback, Flag!"After" after)

Connect to ItemsChanged signal.