remove


Description:

public void remove (Item item)

Removes an item.

The Granite.Widgets.SourceList.ExpandableItem.child_removed signal is fired after removing the item. Finally (i.e. after all the handlers have been invoked), the item's Granite.Widgets.SourceList.Item.parent property is set to null. This has the advantage of letting signal handlers know the parent from which item is being removed.

Parameters:

item

The item to remove. This will fail if item has a different parent.

Since:

0.2

See also:

Granite.Widgets.SourceList.ExpandableItem.child_removed, Granite.Widgets.SourceList.ExpandableItem.clear