SourceListSortable
Object Hierarchy:
Granite.Widgets.SourceListSortable
Granite.Widgets.SourceListSortable
Granite.Widgets.SourceListSortable
Granite.Widgets.SourceList.ExpandableItem
Granite.Widgets.SourceList.ExpandableItem
Granite.Widgets.SourceList.ExpandableItem->Granite.Widgets.SourceListSortable
Granite.Widgets.SourceList.Item
Granite.Widgets.SourceList.Item
Granite.Widgets.SourceList.Item->Granite.Widgets.SourceList.ExpandableItem
GLib.Object
GLib.Object
GLib.Object->Granite.Widgets.SourceList.Item
Description:
public interface SourceListSortable :
ExpandableItem
An interface for sorting items.
Since:
0.3
Content:
Methods:
public abstract bool allow_dnd_sorting ()
Whether this item will allow users to re-arrange its children via DnD.
public abstract int compare (Item a, Item b)
Should return a negative integer, zero, or a positive integer if a
sorts before b , a sorts with b , or a sorts after b respectively. If two items
compare as equal, their order in the sorted source list is undefined.
Signals:
Inherited Members:
All known members inherited from class
Granite.Widgets.SourceList.ExpandableItem
All known members inherited from class Granite.Widgets.SourceList.Item
All known members inherited from class GLib.Object